Teams and HQ
#1

How i can make team like /jointeam1 and how i can make /equip weapons at the HQ? And how i can define what weapons i want when I /equip?
Reply
#2

I dont define HQ cus i dont know what i need to do! Here is teams:
Код:
//-----TEAM DEFINES-----
static gTeam[MAX_PLAYERS];
#define TEAM_SWAT 285
#define TEAM_FBI 286
#define TEAM_DINOZO 147
#define TEAM_MAFIA 113
#define TEAM_TRIAD 294
#define TEAM_MILANO 271
//-----END OF TEAM DEFINES-----
Reply
#3

Ok and now how i can invite somewone to that team? I think to he can useing HQ!?
Reply
#4

No problem, but now how i can lock teams and i have 1 more problem... <<gates>> i can only give premisions to 1 skin whay?
Reply
#5

pawn Код:
if(GetPlayerSkin(playerid) == 123)
{
MoveObject...
else
{
SendClientMessage("Fuck you , you are'nt getting in");
}
Reply
#6

Can't know much by the teams but for the equip use that.. Edit it to your teams.
pawn Код:
if(!strcmp(cmd,"/equip",true))
{
if(!PlayerToPoint(distace,playerid,X,Y,Z))
return SendClientMessage(playerid, COLOR, "Wrong spot.");
GivePlayerWeapon(playerid, weapon, ammo);
return true;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)