02.05.2016, 16:43
I know this but I wanted to make something like, the dialog will show whichever team he would be in. Not only Police Officer for every team.
It's fixed now. This was what I wanted.
Thankyou for your reply mate!
Edit: Yes Dayrion, this was exactly what I wanted. Thank you so much mate! <3
pawn Код:
if(gTeam[playerid] == TEAM_COP)
{
format(occupation, sizeof(occupation), "Police Officer");
}
else if(gTeam[playerid] == TEAM_ARMY)
{
format(occupation, sizeof(occupation),"S.A. Army Officer");
}
else if(gTeam[playerid] == TEAM_CIVIL)
{
format(occupation, sizeof(occupation),"Civillian");
}
else if(gTeam[playerid] == TEAM_CARFIX)
{
format(occupation, sizeof(occupation),"Mechanic");
}
else if(gTeam[playerid] == TEAM_MEDIC)
{
format(occupation, sizeof(occupation),"Medic");
}
Thankyou for your reply mate!
Edit: Yes Dayrion, this was exactly what I wanted. Thank you so much mate! <3