30.11.2011, 15:11
(
Последний раз редактировалось Tasos_Killer; 30.11.2011 в 16:09.
)
Hi, i have edited my own class for my server but when it spawns it has civilian commands [GM IS SFCRRPG]
I want to make the certain skin that says the name of the class before spawn when it spawns to shows the edited class information and not civilian commands...how?
if you don't understand this i will explain better
I want the skin i added with addplayerclass when it spawns to shows the info that i created and not the civilians info.Is this the line i must edit ? But which classid should be the new one?
sorry for my bad english
I want to make the certain skin that says the name of the class before spawn when it spawns to shows the edited class information and not civilian commands...how?
if you don't understand this i will explain better
I want the skin i added with addplayerclass when it spawns to shows the info that i created and not the civilians info.Is this the line i must edit ? But which classid should be the new one?
Код:
SetPlayerTeamFromClass(playerid, classid) { if(classid == 0 || classid == 1 || classid == 2 || classid == 3 || classid == 4 || classid == 5 || classid == 6 || classid == 7 || classid == 10 || classid == 11 || classid == 12) { gTeam[playerid] = TEAM_COP; } else if(classid == 8) { gTeam[playerid] = TEAM_ARMY; } else if(classid == 9) { gTeam[playerid] = TEAM_CIA; } else if(classid == 16) { gTeam[playerid] = TEAM_SF; } else if(classid == 13) { gTeam[playerid] = TEAM_MEDIC; } else if(classid == 14) { gTeam[playerid] = TEAM_CARFIX; } else if(classid == 15 || classid == 16) { gTeam[playerid] = TEAM_DRIVER; } else if(classid >= 17) { gTeam[playerid] = TEAM_CIVIL;