SA-MP Forums Archive
Crashing Help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Crashing Help (/showthread.php?tid=160529)



Crashing Help - Hijolion - 17.07.2010

public OnPlayerEnterCheckpoint(playerid)
{
if (lawenforcer[playerid] == 1)
{
PlayerPlaySound(playerid, 1186, 0.0, 0.0, 10.0);
DisablePlayerCheckpoint(playerid);
GameTextForPlayer(playerid, "Mission passed! ~n~~w~$2000 ~w~+ M4 + MP5 An Armour", 3000, 0);
GivePlayerMoney(playerid,2000);
return 1;
}
else if (ballascheck[playerid] == 1)
{
PlayerPlaySound(playerid, 1186, 0.0, 0.0, 10.0);
DisablePlayerCheckpoint(playerid);
GameTextForPlayer(playerid, "Mission passed! ~n~~w~$2000 ~w~~5 Weed + Heroin", 3000, 0);
GivePlayerMoney(playerid,2000);
return 1;
}
return 1;
}




It does set the checkpoint but when I enter it it crashes me. I would like farther help.


Re: Crashing Help - Hijolion - 17.07.2010

I just fixed it. Mods please delete the thread.