Unstable SA-MP functions?
#1

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
Reply
#2

That's script related, as I've never ran into a problem with it myself.
Reply
#3

Belive me. i double check the script. i don't find script related.

i don't use "SpawnPlayer" on the Callback "OnDialogResponse".
Reply
#4

Check names of dialogs, Search for (CTRL+F) "SpawnPlayer(playerid)" - Or, post this in Scripting Discussion and post your dialog code.
Reply
#5

Many GM's are NPC Uncompatible because they have Dialogs and I hate that.
Reply
#6

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 (!) <.<
Reply
#7

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
Reply


Forum Jump:


Users browsing this thread: 7 Guest(s)