How to... -
Well I just want to add timer to this.
When expires it will give the player 1 000.
PHP код:
if (strcmp("/caprus", cmdtext, true) == 0)
{
if(GetPlayerTeam(playerid) < 1) return SendClientMessage(playerid, COLOR_RED, "<!>You must be USA to use this command!");
{
if(IsPlayerInRangeOfPoint(playerid, 5, 1348.0179,493.8135,18.2278)) return SendClientMessage(playerid, COLOR_RED, "<!>You are not in range!");
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, "<!>Stand here ten seconds and you will capture the base!");
return 1;
}
}
}
Re: How to... -