14-10-2006, 04:10 PM
It wouldn't be too hard. Just make a new variable in the player type called "Para As Long". Make a new spell type following the same format as the others. When the spell is casted on the player for that tpye, just do "Para = GetTickCount". Then, add a little thing in "CanPlayerMove" that checks if "Para > GetTickCount + 5000 ' 5000 = 5 seconds" and if it does, just say they can't move.
NOTE: "Para" would actually be written as "Player(index).Para" in the code.
NOTE: "Para" would actually be written as "Player(index).Para" in the code.