04.02.2009, 10:12
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?
//-----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-----
if(GetPlayerSkin(playerid) == 123)
{
MoveObject...
else
{
SendClientMessage("Fuck you , you are'nt getting in");
}
if(!strcmp(cmd,"/equip",true))
{
if(!PlayerToPoint(distace,playerid,X,Y,Z))
return SendClientMessage(playerid, COLOR, "Wrong spot.");
GivePlayerWeapon(playerid, weapon, ammo);
return true;
}