[HELP] Checkpoint , command
#4

No 'else' needed, not in his code, nor mine.

pawn Код:
if(!strcmp("/destroycar", cmdtext, true))
{
  if(!IsPlayerInCheckpoint(playerid))return SendClientMessage(playerid,0xFFFFFFAA,""This is not the place to do that.");
  if(gTeam[playerid] != TEAM_STAGE25)return SendClientMessage(playerid,0xFFFFFFAA,"
You are not part of the team!");
  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: 2 Guest(s)