22.08.2012, 15:17
I making my Roleplay script but when i use /gps command for destinations...when i choose destiation checkpoint doesn't show on radar
if(dialogid==5 && response==1) { switch(listitem) { case 0: { SetPlayerCheckpoint(playerid, 2413.2051,1123.8254,10.8203,2); FreeMode[playerid] = 0; GPSMode[playerid] = 1; } } }
CMD:gps(playerid, params[])
{
if(IsPlayerInAnyVehicle(playerid))
{
ShowPlayerDialog(playerid,5,DIALOG_STYLE_LIST,"Odredista","1.Gradska Opstina","Ok","Izadji");
}
else return SendClientMessage(playerid, COLOR_LIGHTBLUE, "[Greska] : Niste u vozilu!");
return 1;
}