Help me with errors! Please
#1

Код:
new PlayerName[24];
public OnPlayerStateChange(playerid, newstate, oldstate)

  GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
  
  if(!strcmp(PlayerName,"firecat",true)==1)
     {
      RemovePlayerFromVehicle(playerid);
      SendClientMessage(playerid, COLOR_RED, "This car is from FIRECAT");
      }
      return 1;
}
C:\Users\james\Desktop\stunt server - Copy\filterscripts\Carjump.pwn(14) : warning 217: loose indentation
C:\Users\james\Desktop\stunt server - Copy\filterscripts\Carjump.pwn(24) : error 010: invalid function or declaration
C:\Users\james\Desktop\stunt server - Copy\filterscripts\Carjump.pwn(29) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.


What should i do



[GDZ]leader
Reply
#2

pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
    if(strcmp(PlayerName,"firecat",true) != 1)
    {
        RemovePlayerFromVehicle(playerid);
        SendClientMessage(playerid, COLOR_RED, "This car is from FIRECAT");
    }
    return 1;
}
Reply
#3

Use the search ! Plz I beg to use it!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)