doesn't work the command error plz help
#5

Quote:
Originally Posted by Sfinx_17
i put now the number 1 in my code but why doesn't working yet?
pawn Код:
if (strcmp(cmdtext, "/duel 1", true) == 0) //You cant put a space between "duel" and "1", it has to be either /duel1 or use strval to make it like /duel 1, /duel 2 with only 1 cmd.
{
  SetPlayerVirtualWorld(playerid, 1);
  if(IsPlayerInAnyVehicle(playerid)) //If they are in a vehicle
  SetVehicleVirtualWorld(GetPlayerVehicleID(playerid), 1); //Take the vehicle with them
  return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)