07.08.2014, 19:57
You need to use OnDialogResponse, called when a dialog is being responsed.
Put the dialog's ID,
check if he responsed
check if password was correct,
Use as they told you up ^
And onplayerspawn as ILOVEPAWN told you
pawn Код:
public OnPlayerDialogResponse(playerid, dialogid, listitem, inputtext[], response)
check if he responsed
check if password was correct,
Use as they told you up ^
pawn Код:
SpawnPlayer(playerid)