SA-MP Forums Archive
Dialog + RequestSpawn - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: Dialog + RequestSpawn (/showthread.php?tid=197150)



Dialog + RequestSpawn - GaGlets(R) - 08.12.2010

If player is using/viewing dialog then `OnPlayerRequestSpawn` `return 0;` is ignored and player can spawn..

Tested only in 0.3c probably in older version this bug appears too..

Simple example:
pawn Code:
public OnPlayerRequestClass(playerid, classid)
{
     //ShowPlayerDialog.....
}
public OnPlayerRequestSpawn(playerid)
{
     return 0;
}
Edit:

+ Suggestion to remove `Jump` key from class accepting.. ;S fukin anoying..