SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 10/05/2014, 10:02 AM   #1
rOps
Big Clucker
 
Join Date: Apr 2014
Posts: 71
Reputation: 0
Default GangZone, is this coordinates are correct?

Hello, is this coordinates are correct? Because I don't see a GangZone...

HTML Code:
SafetyZoneID[0] = CreateZone("Safe Zone", 1578.0149, 1724.1713, 1636.7488, 1862.6855,             true, 0xFF233DAA);

AddPlayerClass(188, 1578.0149, 1723.8729, 10.6500, 144.7714, 0, 0, 0, 0 ,0, 0); // safe zone 1
AddPlayerClass(188, 1636.4481, 1724.1713, 10.6500, 239.7122, 0, 0, 0, 0, 0, 0); // safe zone 2
AddPlayerClass(188, 1636.7488, 1862.6713, 10.6500, 314.9129, 0, 0, 0, 0, 0, 0); // safe zone 3
AddPlayerClass(188, 1578.3579, 1862.6855, 10.6500, 50.4805, 0, 0, 0, 0, 0, 0); // safe zone 4
rOps is offline   Reply With Quote
Old 10/05/2014, 10:19 AM   #2
rOps
Big Clucker
 
Join Date: Apr 2014
Posts: 71
Reputation: 0
Default Re: GangZone, is this coordinates are correct?

bump
rOps is offline   Reply With Quote
Old 10/05/2014, 10:21 AM   #3
Deal-or-die
Huge Clucker
 
Deal-or-die's Avatar
 
Join Date: Oct 2010
Location: An Island 1000's of miles away
Posts: 366
Reputation: 22
Default Re: GangZone, is this coordinates are correct?

To create a gangzone I believe you're looking for GangZoneCreate
pawn Code:
GangZoneCreate(Float:minx, Float:miny, Float:maxx, Float:maxy);

AddPlayerClass is for creating a player class in the spawn menu.
pawn Code:
AddPlayerClass(skin, Float:x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo);
__________________
/////////////////////////// | Mini Moot | \\\\\\\\\\\\\\\\\\\\\\\\\\\

"I'm in the country that basically invented the Internet, and your getting faster speeds on an island 1,000miles away"
Deal-or-die is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Checking if object coordinates equal to certain coordinates Jonesy96 Scripting Help 7 05/12/2013 06:00 PM
OnPlayerEditObject not getting the correct coordinates Nuke547 Scripting Help 0 16/02/2013 01:45 AM
is this correct? P<3TS Scripting Help 1 15/07/2012 07:32 AM
Is This Correct? James Coral Scripting Help 5 25/01/2012 01:59 PM
How to make a Gangzone Flash if one of the players of the gangzone spawn Bearfist Help Archive 0 09/04/2009 03:11 PM


All times are GMT. The time now is 03:34 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.