how to check if a gangzone is red?
#1

hey guys,

i tried to find something like if(gangzonecolor == COLOR_RED)

but it aint there... so my question:

is there ANY way to check if the gangzone has the color red?

Greets Niels
Reply
#2

Nope,
Reply
#3

not? but then how to check if the team terrorists have the zone for themself? i mean ok look:

if the server starts the zone is white, cuz its nobodys, but then when a terrorist wants to take it over it will flash for 1 minute and then its terrorists color RED... but then when a new player connects, how to check if the gangzone is red or is terrorists territory so it wont go white at spawn but will get the color it already had?
Reply
#4

IsPlayerInRangeOfPoint

https://sampwiki.blast.hk/wiki/GangZoneFlashForAll
Reply
#5

no thats not wut i mean, i want it to check that when a player joins that it checks if the gangzone is either RED or Blue OR white... so it will set it to the right color it has to other players too..
Reply
#6

You have to save the gangzone's color in a variable, and then check if the variable == red.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)