SA-MP Forums Archive
[FilterScript] A_GPS - 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] A_GPS (/showthread.php?tid=188110)



A_GPS - armyoftwo - 06.11.2010

My first release, I will keep this simple..
This filterscript is very simple, i made it in 5-10 mins. I just took it out from my gamemode.

You have 2 Commands: /creategps <Location Name> and /gps <LocationName>
Basically what it does with creategps you will create a gps place and it will insert all
required data in MySQL. And then a player can do /gps <Location Name> and an checkpoint
will appear and that's it, gps is ready.

By ArmyOfTwo

if you found any bugs, have suggestions feel free to post them here.

Downloads:
http://www.sendspace.com/file/jx7njj
http://pastebin.com/JQTBX16s - Pastebin ruined indentation


Re: A_GPS - iJumbo - 06.11.2010

nice but i have some checkpoint i have to stream it :/


Re: A_GPS - armyoftwo - 06.11.2010

Quote:
Originally Posted by [ISS]jumbo
Посмотреть сообщение
nice but i have some checkpoint i have to stream it :/
You can fix that problem in few seconds.
Go to /gps command and paste
Код:
SetPVarInt(playerid, "Gps_Checkpoint", 1);
And under the OnPlayerEnterCheckpoint Callback paste ( THE CODE MUST BE ON TOP! )
Код:
if(GetPVarInt(playerid, "Gps_Checkpoint" ) == 1)
{
  DisablePlayerCheckpoint(playerid);
  SetPVarInt(playerid, "Gps_Checkpoint", 0);
  return 1;
}
And that's it.


Re: A_GPS - Auxxx - 24.11.2010

Looks like bugged, it creates all checkpoints into the Blueberry field...


Re: A_GPS - TopAz07 - 21.12.2010

new link please


Re: A_GPS - armyoftwo - 30.12.2010

Quote:
Originally Posted by Auxxx
Посмотреть сообщение
Looks like bugged, it creates all checkpoints into the Blueberry field...
You have to connect it to MySQL database