GetTickCount()
#3

Ex:
pawn Код:
CMD:rob(playerid, params[])
{
    if(HasRobbedShopRecently[playerid] > GetTickCount())
        return SendClientMessage(playerid, -1, "Wait...");

    HasRobbedShopRecently[playerid] = GetTickCount()+60000;
    //Functions
    return true;
}
Reply


Messages In This Thread
GetTickCount() - by Admigo - 20.09.2012, 20:08
Re: GetTickCount() - by Admigo - 20.09.2012, 20:34
Re: GetTickCount() - by ViniBorn - 20.09.2012, 20:53
Re: GetTickCount() - by ReneG - 20.09.2012, 21:04
Re: GetTickCount() - by Chriham3 - 20.09.2012, 21:38
Re: GetTickCount() - by YourLord - 20.09.2012, 21:42
Re: GetTickCount() - by ReneG - 20.09.2012, 21:46
Re: GetTickCount() - by Admigo - 21.09.2012, 14:50
Re: GetTickCount() - by YourLord - 21.09.2012, 17:14

Forum Jump:


Users browsing this thread: 4 Guest(s)