[Include] S32GPS - Create a GPS location with just one line!
#1

Introduction

Hi all

I saw a lot of GPS filterscripts, all are the same, just commands in dialog, some locations, that's not cool
so I decide to make something new!

You can create GPS location or destroy it with just one line!

You don't have to use DisablePlayerCheckpoint etc. I made that

Also add this in top of your script:
pawn Code:
#include <S32GPS>

Functions

- CreateDynamicGPS(playerid, Float: X, Float: Y, Float: Z, Float: Size) - Parameters are same as SetPlayerCheckpoint!
- DestroyDynamicGPS(playerid) - Just removing checkpoint if it's started!

I'll add them more soon!


Commands

There is no commands, you will have to create your command!
Please use this in commands that are not for GPS (For example when you starts some race with that command!)
otherewise your race script or whatever else will get bugged!
pawn Code:
if(GPSStarted[playerid] == 1)
{
//your code
}
Credits

System32 - Made whole include!
H265 - He teach me how to use same function more times!
BlackBank3 - Fixed little "bug"!


Video

[ame]http://www.youtube.com/watch?v=CTf6r-B0RxM[/ame]

Download

Here is the download!

Pastebin!



Mediafire!

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)