23.08.2009, 17:37
Quote:
Originally Posted by Compton's Eazy E (Eazyrp.tk)
im not really understanding but, Is this what you mean?
since there is 3 Classes: AddPlayerClass(122,-2168.0637,288.5149,35.3203,66.4466,31,500,27,500,0 ,0); // Terorist AddPlayerClass(164,-2429.3110,323.7393,35.1719,296.9317,31,500,27,500, 0,0); // Bodyguard AddPlayerClass(165,-2429.3110,323.7393,35.1719,296.9317,31,500,27,500, 0,0); // President You Need to edit Код:
if(classid == 0) { GameTextForPlayer(playerid, "~r~ Terrorist", 9000, 3); Team[playerid] = TEAM_1; } else if(classid == 1) { GameTextForPlayer(playerid, "~b~ Bodyguard", 9000, 3); Team[playerid] = TEAM_2; } else if(classid == 2) { GameTextForPlayer(playerid, "~b~ President", 9000, 3); Team{playerid} = TEAM_3; } else if(classid == 1) with else if(classid == 1, 3) Since there are 4 classes, Get it? |