02.11.2012, 01:36
Then why don't try to make your own GPS? such is
pawn Код:
cmd:guide(playerid,params[])
{
ShowPlayerDialog(playerid,DIALOG_GUIDE1,DIALOG_STYLE_LIST,"Line1\nLine2\nLine3","Choose","Cancel"
}
return1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == DIALOG_GUIDE1) {//Guide1
if(response)
{
if(listitem == 1)
{
SetPlayerCheckpoint(playerid, z,y,z, 3);
SendClientMessage(playerid, "You've choose the Guide1, You can see the Checkpoints on your Radar or Map");
else if(listitem == 2)
{
SetPlayerCheckpoint(playerid, z,y,z, 3);
SendClientMessage(playerid, "You've choose the Guide1, You can see the Checkpoints on your Radar or Map");
else if(listitem == 3)
SetPlayerCheckpoint(playerid, z,y,z, 3);
SendClientMessage(playerid, "You've choose the Guide1, You can see the Checkpoints on your Radar or Map");
}
}
return 0;
}