27.02.2013, 04:55
Use gettime and global variables.
Try this,
Try this,
pawn Код:
CMD:tele(playerid, params[]){
#pragma unused params
static
go[MAX_PLAYERS]
;
if((go[playerid] != 0) && gettime() - go[playerid] < 60){
go[playerid] = gettime();
return SendClientMessage(playerid, -1,"NOT");
}
go[playerid] = gettime();
SetPlayerPos(playerid, 2167.8123,1422.5269,10.8203);
return true;
}