[FilterScript] [FS] Advanced GPS
#1

This is advanced GPS system which allows you to set a checkpoint anywhere on the map by using RMB (right mouse button) on the map (ESC -> Map).

Videos:
Advanced GPS
Credits:
- ssǝן‾ʎ for foreach function
- dice7 for the idea

Download:
Click me!

Other:
I've changed the player and vehicle limit, you can configure it to your own (in the mapgps.pwn file):
pawn Код:
#if defined MAX_PLAYERS
  #undef MAX_PLAYERS
  #define MAX_PLAYERS (20) // change it to your own amount.
#endif

#if defined MAX_VEHICLES
  #undef MAX_VEHICLES
  #define MAX_VEHICLES (100) // change it to your own amount.
#endif
There could be a problem with setting player's position in the gamemode or other filterscript so i suggest that you use _SetPlayerPos function with CallRemoteFunction.
_SetPlayerPos function won't call the OnPlayerClickMap callback.
So you could use this in your gamemode/other filterscript (if you're using this filterscript):
pawn Код:
stock SetPlayerPosition(playerid, Float:x, Float:y, Float:z) CallRemoteFunction("_SetPlayerPos", "ifff", playerid, x, y, z);
Please report if you find any bugs.
Reply


Messages In This Thread
[FS] Advanced GPS - by Correlli - 06.01.2010, 11:30
Re: [FS] Advanced GPS - by RyDeR` - 06.01.2010, 11:37
Re: [FS] Advanced GPS - by sXecookie - 06.01.2010, 11:43
Re: [FS] Advanced GPS - by V1ceC1ty - 06.01.2010, 11:47
Re: [FS] Advanced GPS - by Correlli - 06.01.2010, 11:52
Re: [FS] Advanced GPS - by RenisiL - 06.01.2010, 12:50
Re: [FS] Advanced GPS - by Striker_Moe - 06.01.2010, 13:53
Re: [FS] Advanced GPS - by Correlli - 06.01.2010, 14:08
Re: [FS] Advanced GPS - by patchkinson - 06.01.2010, 14:13
Re: [FS] Advanced GPS - by _Gangster_ - 06.01.2010, 15:01

Forum Jump:


Users browsing this thread: 1 Guest(s)