06.04.2012, 14:41
pawn Код:
public JailTime(playerid)
{
countn--;
new string[250];
format(string,sizeof(string),"You are jailed for %d seconds!",countn);
GameTextForPlayer(playerid,string,countn*1000,4);
if(countn<=-1)
{
KillTimer(counttimer);
SetPlayerPos(playerid,OUTSIDEJAIL COORDINATES);
SendClientMessage(playerid,COLOR_GREEN,"Unjailed!");
}
return 1;
}