Gang Zone Bug!
#1

Hey there guys!

I have this problem where the same team can take over a zone multiple times. Can someone make it so : If one team takes over, they cant take it over again unless some other team takes it over.


Here is my code

http://pastebin.com/axTLPbKL
Reply
#2

up! getting flooded here

lol
Reply
#3

Why is everybody bumping without even waiting 30 minutes ¬_¬

Tried something like 'if(takeover[i][team] == gTeam[playerid]) return SendClientMessage(bla, 0x00ff00ff,"Eijot")'

Also, it ain't a bug. How can something be a bug when you haven't even scripted it.
Reply
#4

true that, technically not a bug..

also where exactly do i use ur code, it think it wont let a certain team take over all the time
Reply
#5

Well I'm unsure what codes and variable stuff you're using but you could try placing it after you're checking if he's in a vehicle:

pawn Код:
if(IsPlayerInAnyVehicle(playerid)) return 0;
                        if(takeover[i][team] == gTeam[playerid]) { SendClientMessage(playerid, COLOR_JUMPINGJACKFLASH, "Holidays come, and then they go. There's nothing new today, just another memory."); break; }
                        if(takeover[i][team] == 1 && gTeam[playerid] == USA || takeover[i][team] == 2 && gTeam[playerid] == RUSSIA || takeover[i][team] == 3 && gTeam[playerid] == FRANCE || takeover[i][team] == 4 && gTeam[playerid] == VIETNAM)
Reply
#6

that didnt help
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)