GangZone
#1

Hi,
I've a question.
I have just created a GangZone, and asked me how I do it as a weapons-free zone could make.
But this I know not how I do it here and I wanted to ask.

Here is the code of my GangZone:
Код:
new Spawn;

public OnGameModeInit() {
Spawn = GangZoneCreate(-128,4566, 2335,575, 525,5044, 2674,233);
return 1;
}

public OnPlayerSpawn(playerid) {
GangZoneShowForPlayer(playerid, Spawn, 0x00FF0096);
return 1;
}
I hope you can help me.
Thanks in advance
Reply
#2

well yes... you can check the area you have selected as weapon free zone like MinX,MaxX,MinY,MaxY ......whenever someone enters that area .... or is in area... you should reset his weapons..Simple..so he will be unarmed there ...
Use this to reset weapons - ResetPlayerWeapons(playerid);

Thank You
Abhinav
Reply
#3

Yes. How i make a functional in a GangZone
Reply
#4

What you mean by a functional gang Zone? Give me all the details.... I am ready to help you ..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)