Pawn crashes on compiling.
#2

I think you don't need one bracket }.

Try this:
pawn Код:
if(PlayerInfo[playerid][pMaskuse] == 1)
{
new playerveh = GetPlayerVehicleID(playerid);
PutPlayerInVehicle(playerid, playerveh, 0);
format(string, sizeof(string), "* Stranger attempts to start the vehicles engine", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
SetTimerEx("StartingTheVehicle",3500,0,"i",playerid);
GameTextForPlayer(playerid, "~w~Starting vehicle engine...",3500,3);
gEngine[playerid] = 1;
return 1;
}
else
{
new playerveh = GetPlayerVehicleID(playerid);
PutPlayerInVehicle(playerid, playerveh, 0);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s attempts to start the vehicles engine", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
SetTimerEx("StartingTheVehicle",3500,0,"i",playerid);
GameTextForPlayer(playerid, "~w~Starting vehicle engine...",3500,3);
gEngine[playerid] = 1;
}
return 1;
} // I guess this one ends the command, let it stay.
Reply


Messages In This Thread
Pawn crashes on compiling. - by -eXo - 31.05.2009, 02:41
Re: Pawn crashes on compiling. - by Correlli - 31.05.2009, 02:53
Re: Pawn crashes on compiling. - by -eXo - 31.05.2009, 02:56

Forum Jump:


Users browsing this thread: 1 Guest(s)