protect command
#2

pawn Код:
new last_pgoto[MAX_PLAYERS];

// inside the command
// under the logged in check
if((gettime() - last_pgoto[playerid]) < 5)
    return SendClientMessage(playerid, -1, "wait");

// above return line
last_pgoto[playerid] = gettime();
Reply


Messages In This Thread
protect command - by s3ek - 31.01.2015, 19:08
Re: protect command - by zPain - 31.01.2015, 19:17
Re: protect command - by s3ek - 31.01.2015, 21:56
Re: protect command - by zPain - 01.02.2015, 00:52
Re: protect command - by s3ek - 01.02.2015, 02:06

Forum Jump:


Users browsing this thread: 1 Guest(s)