Get Gift system
#1

PHP Code:
CMD:getgift(playerid)
{
    if(!
IsPlayerConnected(playerid))
        return 
SendClientMessage(playerid, -1"{0000CD}[SERVER]{FF0000} 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);
    }
    else
    {
    
SendClientMessage(playerid, -1"{0000CD}[SERVER]{FF0000} You are not near Gift Box.");
    }
    return 
1;

Morning Guys, i have GetGift system. But i have problem in this script.

I wanna create timer to use this command, and save player gift timer in INI. Can you helpme please ?
Reply
#2

Please Help me guys
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)