commands works but also returns "unknown command"
#7

Quote:
Originally Posted by Fire Dragon
pawn Код:
if(IsPlayerInAnyVehicle(playerid))
{
    //code if player is in any veh
}
else
{
    //code if player is on foot or smth diffrent
}
when i tried this all commands executed at the same time.
code:
pawn Код:
if (strcmp (cmdtext,"/fix", true))
 {
  if(IsPlayerInAnyVehicle(playerid))
  {
    SendClientMessage(playerid,0xFFFFFFFF,"You are inside a vehicle.");
  }
  else
  {
    SendClientMessage(playerid,0xFFFFFFFF,"You are NOT inside a vehicle.");
  }
 }
what did i do wrong? lol
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)