[HELP] Checkpoint , command
#1

Hi ,

I have setup a checkpoint to which when someone enters it sends clientmessage . The message tells the person to use /destroycar , but how can i make it so that you have to be in that checkpoint for the command to work.

An example would be great.

Here is the current command

Код:
if(!strcmp("/destroycar", cmdtext, true))
{
if(gTeam[playerid] != TEAM_STAGE25) {
SendClientMessage(playerid,0xFFFFFFAA,"You are not part of the team!");
return 1;
}
DestroyVehicle(GetPlayerVehicleID(playerid));
SendClientMessage(playerid,0xFFFFFFAA," You are a worker , The car has been destroyed");
return 1;
}
Reply


Messages In This Thread
[HELP] Checkpoint , command - by xxjackoxx - 07.03.2010, 02:12
Re: [HELP] Checkpoint , command - by cessil - 07.03.2010, 02:28
Re: [HELP] Checkpoint , command - by sidhu123 - 07.03.2010, 03:49
Re: [HELP] Checkpoint , command - by Joe Staff - 07.03.2010, 04:46
Re: [HELP] Checkpoint , command - by jamesbond007 - 07.03.2010, 05:11
Re: [HELP] Checkpoint , command - by LVFDM - 07.03.2010, 06:09

Forum Jump:


Users browsing this thread: 1 Guest(s)