SA-MP Forums Archive
Checkpoint doesn't show - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Checkpoint doesn't show (/showthread.php?tid=371144)



Checkpoint doesn't show - nikolat007 - 22.08.2012

I making my Roleplay script but when i use /gps command for destinations...when i choose destiation checkpoint doesn't show on radar


Re: Checkpoint doesn't show - Avi57 - 22.08.2012

is it saying Use /gps or something else when u type /gps ?
and show us your GPS code


Re: Checkpoint doesn't show - nikolat007 - 22.08.2012

Код:
if(dialogid==5 && response==1)
	{
	    switch(listitem)
	    {
	        case 0:
	        {
		    SetPlayerCheckpoint(playerid, 2413.2051,1123.8254,10.8203,2);
	            FreeMode[playerid] = 0;
	            GPSMode[playerid] = 1;
	        }
	    }
        }



Re: Checkpoint doesn't show - nikolat007 - 22.08.2012

I see checkpoint when i was there


Re: Checkpoint doesn't show - Avi57 - 22.08.2012

Buddy i told you show me GPS command ! not dialog thing


Re: Checkpoint doesn't show - nikolat007 - 22.08.2012

oh sorry

PHP код:
CMD:gps(playeridparams[])
{
    if(
IsPlayerInAnyVehicle(playerid))
    {
        
ShowPlayerDialog(playerid,5,DIALOG_STYLE_LIST,"Odredista","1.Gradska Opstina","Ok","Izadji");
    }
    else return 
SendClientMessage(playeridCOLOR_LIGHTBLUE"[Greska] : Niste u vozilu!");
    return 
1;