04.10.2010, 16:52
Try this:
pawn Код:
// Add this line to the command
SetTimerEx("UnjailPlayer", jailTime * 1000, false, "d", otherId);
forward UnjailPlayer(playerid);
public UnjailPlayer(playerid) {
// Change these coordinates to where the player goes after the jail sentence
SetPlayerPos(otherid, 0, 0, 0);
// Reset their jailed variables
Jailed[otherId] = 0;
PlayerInfo[otherId][pJailTime] = 0;
}

