14.05.2014, 19:59
pawn Код:
CMD:sync(playerid, params[])
{
if(SyncTimer == 0) {
SyncTimer[playerid] = 180;
ClearAnimations(playerid);
}
else return SendClientMessage(playerid, -1, "You must wait %d seconds before using this command again.", SyncTimer);
return 1;
}
timer UpdateSyncTimer[1000](playerid)
{
if(SyncTimer > 0) SyncTimer--;
return 1;
}