21.08.2012, 05:31
Make a check then.
At the top of your script:
Then have this for OnPlayerSpawn:
Edit: As said above ^
At the top of your script:
pawn Код:
new gHasPlayerChosenSkin[MAX_PLAYERS];
pawn Код:
public OnPlayerSpawn(playerid)
{
if(!gHasPlayerChosenSkin[playerid]) {
gHasPlayerChosenSkin[playerid] = 1;
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_INPUT, "Select your skin", "Please input the Skin ID you wish to use", "Select", "");
}
return 1;
}