pawn Код:
ClassSel_SetupCharSelection(playerid, classid)
{
if(gPlayerCitySelection[playerid] == CITY_LOS_SANTOS) {
SetPlayerClass(playerid, classid);
switch(classid)
{
case 0,3:
{
GameTextForPlayer(playerid, "~w~Equipo ~g~Los Grove", 900000000, 3);
ApplyAnimation(playerid,"DANCING","DAN_Loop_A",4.1,7,5,1,1,1);
//ApplyAnimation(playerid,"STRIP","strip_D",4.1,7,5,1,1,1);
}
case 4,7:
{
GameTextForPlayer(playerid, "~w~Equipo ~p~Los Ballas", 900000000, 3);
ApplyAnimation(playerid,"DANCING","DAN_Left_A",4.1,7,5,1,1,1);
//ApplyAnimation(playerid,"STRIP","strip_D",4.1,7,5,1,1,1);
}
case 8,10:
{
GameTextForPlayer(playerid, "~w~Equipo ~b~Los Aztecas", 500000, 3);
ApplyAnimation(playerid,"DANCING","DAN_Right_A",4.1,7,5,1,1,1);
//ApplyAnimation(playerid,"STRIP","strip_D",4.1,7,5,1,1,1);
}
case 11,13:
{
GameTextForPlayer(playerid, "~w~Equipo ~r~Los Nang", 900000000, 3);
ApplyAnimation(playerid,"DANCING","DAN_Up_A",4.1,7,5,1,1,1);
//ApplyAnimation(playerid,"STRIP","strip_D",4.1,7,5,1,1,1);
}
case 14,16:
{
GameTextForPlayer(playerid, "~w~Equipo ~y~Los Vagos", 900000000, 3);
ApplyAnimation(playerid,"DANCING","dnce_M_b",4.1,7,5,1,1,1);
//ApplyAnimation(playerid,"STRIP","strip_D",4.1,7,5,1,1,1);
}
case 17,18:
{
GameTextForPlayer(playerid, "~w~Equipo ~b~Policia (LSPD)", 900000000, 3);
ApplyAnimation(playerid,"DANCING","dnce_M_c",4.1,7,5,1,1,1);
//ApplyAnimation(playerid,"STRIP","strip_D",4.1,7,5,1,1,1);
}
case 19,20:
{
GameTextForPlayer(playerid, "~w~Equipo ~g~Agentes Especiales", 900000000, 3);
ApplyAnimation(playerid,"DANCING","dnce_M_a",4.1,7,5,1,1,1);
//ApplyAnimation(playerid,"STRIP","strip_D",4.1,7,5,1,1,1);
}
case 21,22:
{
GameTextForPlayer(playerid, "~w~Equipo ~l~Mafia Italiana", 900000000, 3);
ApplyAnimation(playerid,"DANCING","dnce_M_d",4.1,7,5,1,1,1);
//ApplyAnimation(playerid,"STRIP","strip_D",4.1,7,5,1,1,1);
}
case 23,25:
{
GameTextForPlayer(playerid, "~w~Equipo ~r~Rebeldes", 900000000, 3);
ApplyAnimation(playerid,"DANCING","DAN_Up_A",4.1,7,5,1,1,1);
}
case 26,28:
{
GameTextForPlayer(playerid, "~w~Equipo Los Yakuza", 900000000, 3);
ApplyAnimation(playerid,"DANCING","dnce_M_a",4.1,7,5,1,1,1);
//ApplyAnimation(playerid,"STRIP","strip_D",4.1,7,5,1,1,1);
}
case 29,30:
{
GameTextForPlayer(playerid, "~w~Equipo ~y~Militares", 900000000, 3);
ApplyAnimation(playerid,"DANCING","dnce_M_d",4.1,7,5,1,1,1);
//ApplyAnimation(playerid,"STRIP","strip_D",4.1,7,5,1,1,1);
}
case 31,35:
{
GameTextForPlayer(playerid, "~w~Equipo ~r~Terroristas", 900000000, 3);
ApplyAnimation(playerid,"DANCING","DAN_Loop_A",4.1,7,5,1,1,1);
//ApplyAnimation(playerid,"STRIP","strip_D",4.1,7,5,1,1,1);
}
case 36,37:
{
GameTextForPlayer(playerid, "~w~Equipo ~y~Civiles", 900000000, 3);
ApplyAnimation(playerid,"DANCING","DAN_Right_A",4.1,7,5,1,1,1);
//ApplyAnimation(playerid,"STRIP","strip_D",4.1,7,5,1,1,1);
}
case 38,39:
{
GameTextForPlayer(playerid, "~w~Equipo ~b~Stunters", 900000000, 3);
ApplyAnimation(playerid,"DANCING","dnce_M_b",4.1,7,5,1,1,1);
//ApplyAnimation(playerid,"STRIP","strip_D",4.1,7,5,1,1,1);
}
case 40,41:
{
GameTextForPlayer(playerid, "~w~Equipo ~p~Zombie", 900000000, 3);
ApplyAnimation(playerid,"DANCING","dnce_M_d",4.1,7,5,1,1,1);
//ApplyAnimation(playerid,"STRIP","strip_D",4.1,7,5,1,1,1);
}
case 42,43:
{
GameTextForPlayer(playerid, "~w~Equipo ~y~]V.I.P.]", 900000000, 3);
ApplyAnimation(playerid,"DANCING","dnce_M_b",4.1,7,5,1,1,1);
//ApplyAnimation(playerid,"STRIP","strip_D",4.1,7,5,1,1,1);
}
case 44,45:
{
GameTextForPlayer(playerid, "~w~Equipo ~r~]Admin]", 900000000, 3);
ApplyAnimation(playerid,"DANCING","dnce_M_b",4.1,7,5,1,1,1);
}
else if(gPlayerCitySelection[playerid] == CITY_SAN_FIERRO) {
SetPlayerInterior(playerid,3);
SetPlayerClass(playerid, classid);
SetPlayerPos(playerid,-2673.8381,1399.7424,918.3516);
SetPlayerFacingAngle(playerid,181.0);
SetPlayerCameraPos(playerid,-2673.2776,1394.3859,918.3516);
SetPlayerCameraLookAt(playerid,-2673.8381,1399.7424,918.3516);
}
else if(gPlayerCitySelection[playerid] == CITY_LAS_VENTURAS) {
//SetPlayerInterior(playerid,3);
SetPlayerPos(playerid,349.0453,193.2271,1014.1797);
SetPlayerFacingAngle(playerid,286.25);
SetPlayerCameraPos(playerid,352.9164,194.5702,1014.1875);
SetPlayerCameraLookAt(playerid,349.0453,193.2271,1014.1797);
}
}
return 1;
}