14.02.2014, 13:00
Still doesn't work...
New code:
Response:
Command:
New code:
Response:
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if (response)//Als je op "Warp" drukt.
{
switch(dialogid)
{
case 1://Dit zijn de warps
{
switch(listitem)
{
case 0: //Garage
{
SetPlayerPos(playerid, 1980.3363, 1765.5774, 11.6543);
}
case 1://Station
{
SetPlayerPos(playerid, 2766.8821, 1774.3678, 10.8203); //Station
}
}
}
}
return 1;
}
return 0;
}
pawn Код:
CMD:warps(playerid,params[])
{
ShowPlayerDialog(playerid,1, DIALOG_STYLE_LIST, "Warps", "Garage\nStation", "Warp", "Annuleer");
}