Unstable SA-MP functions? - 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: Unstable SA-MP functions? (
/showthread.php?tid=180869)
Unstable SA-MP functions? -
billy4601 - 03.10.2010
Dialog is a great feature for sa-mp. It makes sa-mp become simple.
I try to design a new registration interface for the Godfather GM.
When i finish script design and test this new registration interface, i Find a bug.
Player use the dialog, the will respawn. i double check the script. i don't find any Language error.
i think the Dialog functions or spawnplayeris functions not in stable.
PS:This problem does not always happen
Re: Unstable SA-MP functions? -
iFriSki - 03.10.2010
That's script related, as I've never ran into a problem with it myself.
Re: Unstable SA-MP functions? -
billy4601 - 03.10.2010
Belive me. i double check the script. i don't find script related.
i don't use "SpawnPlayer" on the Callback "OnDialogResponse".
Re: Unstable SA-MP functions? -
Ash. - 03.10.2010
Check names of dialogs, Search for (CTRL+F) "SpawnPlayer(playerid)" - Or, post this in Scripting Discussion and post your dialog code.
Re: Unstable SA-MP functions? -
Jeroen52 - 06.10.2010
Many GM's are NPC Uncompatible because they have Dialogs and I hate that.
Re: Unstable SA-MP functions? -
Vince - 06.10.2010
Quote:
Originally Posted by Jeroen52
Many GM's are NPC Uncompatible because they have Dialogs and I hate that.
|
pawn Код:
public OnPlayerConnect(playerid)
{
if(IsPlayerNPC(playerid)) return 1;
// Rest of your stuff
}
I agree, very hard to make them compatible (!) <.<
Re: Unstable SA-MP functions? -
i514x - 06.10.2010
i dont really understand what the problem is, the server restarts or what? sorry again for not understanding.
PS: i had a problem ones with GUI but that wasnt server's fault. i found a mistake after 2 days of searching. and believe me it was a very silly mistake