[FilterScript] A_GPS
#1

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
Reply
#2

nice but i have some checkpoint i have to stream it :/
Reply
#3

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.
Reply
#4

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

new link please
Reply
#6

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


Forum Jump:


Users browsing this thread: 4 Guest(s)