Car remove command?
#3

pawn Код:
if(strcmp(cmd, "/car", true)==0)
{
  if(AdminLevel[playerid] == 5))
  {
    new tmp[128], tmp2[128], tmp3[128];
    new Float:x, Float:y, Float:z;
    tmp = strtok(cmdtext, idx); tmp2 = strtok(cmdtext, idx); tmp3 = strtok(cmdtext, idx);
    GetPlayerPos(playerid, x, y, z);
    CreateVehicle(strval(tmp), x+2, y+2, z, 0, strval(tmp2), strval(tmp3), 60);
  }
  else return SendClientMessage(playerid, red, "Your not high enough level to use this command");
  return 1;
}
Reply


Messages In This Thread
Car remove command? - by bajskorv123 - 18.06.2010, 16:06
Re: Car remove command? - by Despare - 18.06.2010, 16:10
Re: Car remove command? - by bajskorv123 - 18.06.2010, 16:13
Re: Car remove command? - by Despare - 18.06.2010, 16:24
Re: Car remove command? - by bajskorv123 - 18.06.2010, 16:28
Re: Car remove command? - by Despare - 18.06.2010, 16:36
Re: Car remove command? - by bajskorv123 - 18.06.2010, 16:50
Re: Car remove command? - by Despare - 18.06.2010, 16:51
Re: Car remove command? - by Nero_3D - 18.06.2010, 16:57

Forum Jump:


Users browsing this thread: 2 Guest(s)