How to...
#1

Well I just want to add timer to this.

Timer 10 seconds
When expires it will give the player 1 000.

Here's the code:
PHP код:
    if (strcmp("/caprus"cmdtexttrue) == 0)
    {
        if(
GetPlayerTeam(playerid) < 1) return SendClientMessage(playeridCOLOR_RED"<!>You must be USA to use this command!");
        {
            if(
IsPlayerInRangeOfPoint(playerid51348.0179,493.8135,18.2278)) return SendClientMessage(playeridCOLOR_RED"<!>You are not in range!");
            {
                
SendClientMessage(playeridCOLOR_LIGHTBLUE"<!>Stand here ten seconds and you will capture the base!");
                return 
1;
            }
        }
    } 
Reply
#2

Thanks mate
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)