31.07.2011, 22:41
OnPlayerConnect create a dialog,
then under OnDialogResponse
pawn Код:
ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"Select Spawn","Spawn 1\nSpawn 2\nSpawn 3","Goto", "");
pawn Код:
if(dialogid == 1)
{
if(response)
{
if(listitem == 0)
{
SetPlayerPos(playerid,x,y,z);
SetPlayerSkin(playereid,//Skin);
}
if(listitem == 1)
{
SetPlayerPos(playerid,//Location);
SetPlayerSkin(playereid,//Skin);
}
}