Clan -
James_Bourne - 20.08.2011
Well, i made like many thead about this but no one really helped step by step i've solved problems but i got 3 problems more
1 problem:
The ATEAM's Color shall be CYAN but when i spawn its white like a civillian.
the second problem:
The ATEAM doesnt spawn in their base it spawns like a civillian.
The Third Problem:
The Skill job shouldnt show for ATEAM it shall be that they can /commands and they have these commands: /rob and /radio i did that but it doesnt work.
Re: Clan -
Davz*|*Criss - 20.08.2011
Please show us the code?
Would be for helpful for understanding instantly.
Thanks.
Re: Clan -
James_Bourne - 20.08.2011
on problem 1:
Code:
GangZoneShowForPlayer(playerid, ATEAMZone, COLOR_CYAN);
and:
Code:
if(gTeam[playerid] == TEAM_ATEAM)
{
SetPlayerColor(playerid,COLOR_CYAN);
}
In problem 2
Code:
AddPlayerClass(73,157.1407,1903.2020,18.6546,275.1121,22,700,31,700,32,700); //(60)ATEAM Male
AddPlayerClass(193,157.1407,1903.2020,18.6546,275.1121,22,700,31,700,32,700); //(61) ATEAM Female
and:
Code:
if(gTeam[playerid] == TEAM_ATEAM && GetPlayerSkin(playerid) == 73)
{
ShowPlayerDialog(playerid,DIALOG_SKILLINFO,DIALOG_STYLE_MSGBOX,"{0000FF}ATEAM'S INFORMATION:","{FFFFFF}Commands: Type /commands for a list of ATEAM'S COMMANDS.\n{FFFFFF}Job: Your job is to run away from the National Guard/Army.\n{FFFFFF}Player Colours: For a list of what the player colors mean, type /pc.\n{FFFFFF}Don't forget to read the /rules of Zone's San Fierro C'N'R!","Ok","Cancel");
GivePlayerWeapon(playerid,22,700);
GivePlayerWeapon(playerid,31,700);
GivePlayerWeapon(playerid,35,10);
SetPlayerPos(playerid,-157.1407,1903.2020,18.6546);
SetPlayerFacingAngle(playerid,275.1121);
SetCameraBehindPlayer(playerid);
HasATEAMRadio[playerid] =1;
}
if(gTeam[playerid] == TEAM_ATEAM && GetPlayerSkin(playerid) == 193)
{
ShowPlayerDialog(playerid,DIALOG_SKILLINFO,DIALOG_STYLE_MSGBOX,"{0000FF}ATEAM'S INFORMATION:","{FFFFFF}Commands: Type /commands for a list of ATEAM'S COMMANDS.\n{FFFFFF}Job: Your job is to run away from the National Guard/Army.\n{FFFFFF}Player Colours: For a list of what the player colors mean, type /pc.\n{FFFFFF}Don't forget to read the /rules of Zone's San Fierro C'N'R!","Ok","Cancel");
GivePlayerWeapon(playerid,22,700);
GivePlayerWeapon(playerid,31,700);
GivePlayerWeapon(playerid,35,10);
SetPlayerPos(playerid,-157.1407,1903.2020,18.6546);
SetPlayerFacingAngle(playerid,275.1121);
SetCameraBehindPlayer(playerid);
HasATEAMRadio[playerid] =1;
}
in problem 3 i dunno it acts like a civillian it shows the skill job it should not do that.
Re: Clan -
James_Bourne - 20.08.2011
Someone? comeon help me i have asked for help with this for very long time.
Re: Clan -
Davz*|*Criss - 21.08.2011
The first problem:
Add this under OnPlayerSpawn
//Whats the colour problem ??
pawn Code:
if(gTeam[playerid] == TEAM_ATEAM)
{
SetPlayerColor(playerid,COLOR_CYAN);
}
The Second Problem:
The ATEAM doesnt spawn in their base it spawns like a civillian.
What do you mean by this?
I don't really understand..
Re: Clan -
James_Bourne - 21.08.2011
First problem?:
what? omg really no one freakign understand what i mean with the freaking colors -_- when its so easy to tell what it is omg
let me tell you freaking again!
and what the heck? add this underplayespawn then //whats the colour problem omg.
Second:OMGGGGG ITS SO EASY OMG ATEAM doesnt spawn in their base like they should do they spawn like a civillian
You forgot the third problem -_-
Re: Clan -
Pinguinn - 21.08.2011
The colorproblem has something to do with the color you set
For example; you want black, but you entered the wrong HEX
For the third problem I think it is something with the civilian job. I am not sure, I am just guessing
And what do you mean with the second problem?
Andddd... calm down else no one will help you
Re: Clan -
James_Bourne - 21.08.2011
second problem is that it doesnt spawn in their base it spawns like a civillian.