20.04.2013, 01:05
If you want them to stay at one spot, you could just TogglePlayerControllable(playerid, false);.
edit: But I assume that's not what you want. You can get the player's current position as he uses the command, and then define a timer that checks eg. every second, if it's not equal to his initial position, you cancel the command.
edit: But I assume that's not what you want. You can get the player's current position as he uses the command, and then define a timer that checks eg. every second, if it's not equal to his initial position, you cancel the command.