SA-MP Forums Archive
[FilterScript] [FS] LSNav System by GtaSkilled_ - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] [FS] LSNav System by GtaSkilled_ (/showthread.php?tid=63546)



[FS] LSNav System by GtaSkilled_ - GtaSkilled_ - 29.01.2009

Script Name

[FS] LSNav System

Script Info

Displays CKs in places.
Available Commands :

LSNav - /navhelp
LSNav - /pd /hospital /airport /pier /grove
LSNav - /clear /gym /tower

Credits

GtaSkilled_ (Me) - Creating the [FS]
Don\'t steal it, and keep the credits. Thanks.

Script Download

http://rapidshare.com/files/191514200/LSNav.pwn.html - Rapidshare
http://pastebin.com/f25e2064 - Pastebin


Re: [FS] LSNav System by GtaSkilled_ - sidhu123 - 30.01.2009

Nice man!.. So basically what it does is, when you type a place, it sets a checkpoint there? so you can find your way around?


Re: [FS] LSNav System by GtaSkilled_ - AlExAlExAlEx - 30.01.2009

Quote:
Originally Posted by [SAP
Sidhu ]
Nice man!.. So basically what it does is, when you type a place, it sets a checkpoint there? so you can find your way around?
basically you have to download it , to know the answer


Re: [FS] LSNav System by GtaSkilled_ - c-middia - 30.01.2009

you may need to make a var so this script wont interfere with game modes that use checkpoints...
pawn Code:
new usenav[MAX_PLAYERS];//add this at the top

public OnPlayerEnterCheckpoint(playerid)
{
    if(usenav[playerid] != 0)//make your check
      {
      PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0);
      DisablePlayerCheckpoint(playerid);
      GameTextForPlayer(playerid, "~w~You have~n~~y~arrived", 5000, 1);
      usenav[playerid]=0;//set back to zero
      return 1;
    }
    return 1;
}

    if(strcmp(cmdtext, "/pd", true) == 0 && usenav[playerid]==0)//example
    {
    SetPlayerCheckpoint(playerid,1529.6,-1691.2,13.3,4.0);
        GameTextForPlayer(playerid, "~w~Nav SYS set ~g~Los Santos PD", 5000, 1);
       usenav[playerid]=1;//set 0ne or w/e
        return 1;
    }



Re: [FS] LSNav System by GtaSkilled_ - KnooL - 30.01.2009

Thanks, good one.


Re: [FS] LSNav System by GtaSkilled_ - GtaSkilled_ - 30.01.2009

Quote:
Originally Posted by c-middia
you may need to make a var so this script wont interfere with game modes that use checkpoints...
pawn Code:
new usenav[MAX_PLAYERS];//add this at the top

public OnPlayerEnterCheckpoint(playerid)
{
    if(usenav[playerid] != 0)//make your check
      {
      PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0);
      DisablePlayerCheckpoint(playerid);
      GameTextForPlayer(playerid, "~w~You have~n~~y~arrived", 5000, 1);
      usenav[playerid]=0;//set back to zero
      return 1;
    }
    return 1;
}

    if(strcmp(cmdtext, "/pd", true) == 0 && usenav[playerid]==0)//example
    {
    SetPlayerCheckpoint(playerid,1529.6,-1691.2,13.3,4.0);
        GameTextForPlayer(playerid, "~w~Nav SYS set ~g~Los Santos PD", 5000, 1);
       usenav[playerid]=1;//set 0ne or w/e
        return 1;
    }
Cool, thanks. Maybe I\'ll use that on the next one : LVNav


Re: [FS] LSNav System by GtaSkilled_ - GtaSkilled_ - 30.01.2009

Quote:
Originally Posted by [SAP
Sidhu ]
Nice man!.. So basically what it does is, when you type a place, it sets a checkpoint there? so you can find your way around?
So you can find your way around in LS only. I\'m scripting one for LV

PS : Sorry for double post.


Re: [FS] LSNav System by GtaSkilled_ - Shadowww - 30.01.2009

I fail.
I remade it to work with checkpoint streamer, and then i realised i am idiot.


Re: [FS] LSNav System by GtaSkilled_ - GtaSkilled_ - 30.01.2009

LVNav project = Aborted :[

But you can still download LSNav :]


Re: [FS] LSNav System by GtaSkilled_ - Shadowww - 30.01.2009

I am making SANav, it will contain most popular locations, and you will be in credits. :P


Re: [FS] LSNav System by GtaSkilled_ - GtaSkilled_ - 30.01.2009

Quote:
Originally Posted by Shadowww
I am making SANav, it will contain most popular locations, and you will be in credits. :P
Cool. Thanks :]


Re: [FS] LSNav System by GtaSkilled_ - sidhu123 - 31.01.2009

Quote:
Originally Posted by AlExAlExAlEx
Quote:
Originally Posted by [SAP
Sidhu ]
Nice man!.. So basically what it does is, when you type a place, it sets a checkpoint there? so you can find your way around?
basically you have to download it , to know the answer
Was I asking you?.. NO



Re: [FS] LSNav System by GtaSkilled_ - Magician - 04.03.2009

Nice! Will use this on my server