Pawn crashes on compiling.
#1

Since I've modified part an engine code to this, Pawn crashes when compiling.

Код:
	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;
				}
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)