Timer On Teleport
#3

Use gettime and global variables.

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;
}
Reply


Messages In This Thread
Timer On Teleport - by Lemonaidz - 27.02.2013, 04:02
Re: Timer On Teleport - by RajatPawar - 27.02.2013, 04:47
Re: Timer On Teleport - by zSuYaNw - 27.02.2013, 04:55
Re: Timer On Teleport - by Lemonaidz - 27.02.2013, 05:07
Re: Timer On Teleport - by mittukuttan - 27.02.2013, 05:59

Forum Jump:


Users browsing this thread: 1 Guest(s)