GETGIFT CMD
#1

Hello guys my friend gave me this CMD
PHP код:
CMD:getgift(playerid)
{
    if(!
IsPlayerConnected(playerid))
        return 
SendClientMessage(playerid, -1"You must be logged in to do this.");
    
GetObjectPos(giftboxobjectgiftPos[0], giftPos[1], giftPos[2]);
    if(
IsPlayerInRangeOfPoint(playerid5.0giftPos[0], giftPos[1], giftPos[2]) && giftboxcreated == 1)
    {
    
RandomGift(playerid);
    }
    return 
1;

But this CMD can be used like 100's of times together so i want that each player can only be able to do /getgift once they are active for 2 hour like i mean after every 2 hours they can /getgift and if they forget to collect the gift then they can use /getgift after 4 hours 2 times!
Reply


Messages In This Thread
GETGIFT CMD - by LifeRah - 18.05.2016, 15:58
Re: GETGIFT CMD - by SyS - 18.05.2016, 16:05
Re: GETGIFT CMD - by LifeRah - 18.05.2016, 16:10
Re: GETGIFT CMD - by doreto - 18.05.2016, 16:10
Re: GETGIFT CMD - by LifeRah - 18.05.2016, 16:35
Re: GETGIFT CMD - by F1N4L - 18.05.2016, 16:58
Re: GETGIFT CMD - by LifeRah - 18.05.2016, 18:00
Re: GETGIFT CMD - by F1N4L - 18.05.2016, 18:06

Forum Jump:


Users browsing this thread: 3 Guest(s)