I have read through them, nothing helped.
Код:
public OnPlayerRequestClass(playerid, classid)
{
switch(classid)
{
case 0, 2:
{
SetPlayerPos(playerid, 2527.9763,-1666.6794,15.1682);
SetPlayerFacingAngle(playerid,100.0);
SetPlayerCameraPos(playerid, 2522.4639,-1667.2499,15.0358);
SetPlayerCameraLookAt(playerid, 2527.9763,-1666.6794,15.1682);
GameTextForPlayer(playerid, "~n~ ~n~ ~n~ ~g~Grove Street Families", 5000, 3);
ApplyAnimation(playerid, "GANGS", "DEALER_DEAL", 4.1, 0, 1, 1, 1, 1, 1);
SetPlayerColor(playerid, COLOR_GREEN);
gTeam[playerid] = TEAM_GS;
{
case 3, 6:
{
SetPlayerPos(playerid, 2763.8992,-2012.2869,13.5547,88.6866);
SetPlayerFacingAngle(playerid,100.0);
SetPlayerCameraPos(playerid, 2766.2051,-2012.1320,13.5620,89.3133);
SetPlayerCameraLookAt(playerid, 2763.8992,-2012.2869,13.5547,88.6866);
GameTextForPlayer(playerid, "~n~ ~n~ ~n~ ~g~Seville Boulevard Families", 5000, 3);
ApplyAnimation(playerid, "SPRAYCAN", "spraycan_fire", 4.1, 0, 1, 1, 1, 1, 1);
SetPlayerColor(playerid, COLOR_LIGHTGREEN);
gTeam[playerid] = TEAM_SBF;
{
case 7, 10:
{
SetPlayerPos(playerid, 1073.6230,-1012.8679,34.8639,277.9612);
SetPlayerFacingAngle(playerid,100.0);
SetPlayerCameraPos(playerid, 1076.0316,-1012.3669,34.9455,97.0212);
SetPlayerCameraLookAt(playerid, 1073.6230,-1012.8679,34.8639,277.9612);
GameTextForPlayer(playerid, "~n~ ~n~ ~n~ ~g~Temple Drive Families", 5000, 3);
ApplyAnimation(playerid, "GANGS", "Invite_No", 4.1, 0, 1, 1, 1, 1, 1);
SetPlayerColor(playerid, 0x00954AFF);
gTeam[playerid] = TEAM_TDF;
{
case 11, 14:
{
SetPlayerPos(playerid, 1160.7405,-1270.9092,13.5455,125.8949);
SetPlayerFacingAngle(playerid,100.0);
SetPlayerCameraPos(playerid, 1159.4375,-1272.3848,13.5469,180.8972);
SetPlayerCameraLookAt(playerid, 1160.7405,-1270.9092,13.5455,125.8949);
GameTextForPlayer(playerid, "~n~ ~n~ ~n~ ~p~Temple Drive Ballas", 5000, 3);
ApplyAnimation(playerid, "RAPPING", "RAP_A_IN", 4.1, 0, 1, 1, 1, 1, 1);
SetPlayerColor(playerid, 0xFF80FFFF);
gTeam[playerid] = TEAM_TDB;
}
case 15, 18:
{
SetPlayerPos(playerid, 2153.8140,-1719.0671,21.9594,359.6438);
SetPlayerFacingAngle(playerid,359.6438);
SetPlayerCameraPos(playerid, 2153.6323,-1716.6382,21.9594,180.8972);
SetPlayerCameraLookAt(playerid, 2153.8140,-1719.0671,21.9594,359.6438);
GameTextForPlayer(playerid, "~n~ ~n~ ~n~ ~p~Front Yard Ballas", 5000, 3);
ApplyAnimation(playerid, "RAPPING", "RAP_A_Loop", 4.1, 0, 1, 1, 1, 1, 1);
SetPlayerColor(playerid, 0x800080FF);
gTeam[playerid] = TEAM_FYB;
}
case 19, 22:
{
SetPlayerPos(playerid, 2165.6833,-1230.9509,23.9706,263.7629);
SetPlayerFacingAngle(playerid,263.7629);
SetPlayerCameraPos(playerid, 2167.9082,-1231.2202,23.9708,85.3296);
SetPlayerCameraLookAt(playerid, 2165.6833,-1230.9509,23.9706,263.7629);
GameTextForPlayer(playerid, "~n~ ~n~ ~n~ ~p~Rollin Heightz Ballas", 5000, 3);
ApplyAnimation(playerid, "SHOP", "ROB_Shifty", 4.0, 0, 0, 0, 0, 0);
SetPlayerColor(playerid, 0x800080FF);
gTeam[playerid] = TEAM_RHB;
}
case 23, 26:
{
SetPlayerPos(playerid, 1963.3306,-1241.1180,20.0564,96.1514);
SetPlayerFacingAngle(playerid,96.1514);
SetPlayerCameraPos(playerid, 1960.6024,-1241.5902,19.9601,273.6448);
SetPlayerCameraLookAt(playerid, 1963.3306,-1241.1180,20.0564,96.1514);
GameTextForPlayer(playerid, "~n~ ~n~ ~n~ ~p~Kilo Tray Ballas", 5000, 3);
ApplyAnimation(playerid, "SMOKING", "M_smklean_loop", 4.1, 0, 1, 1, 1, 1, 1);
SetPlayerColor(playerid, 0x800080FF);
gTeam[playerid] = TEAM_KTB;
}
case 27, 30:
{
SetPlayerPos(playerid, 2806.1924,-1182.4685,25.4116,268.9446);
SetPlayerFacingAngle(playerid,268.9446);
SetPlayerCameraPos(playerid, 2809.4033,-1182.3090,25.3334,90.5113);
SetPlayerCameraLookAt(playerid, 2806.1924,-1182.4685,25.4116,268.9446);
GameTextForPlayer(playerid, "~n~ ~n~ ~n~ ~y~ Los Santos Vagos", 5000, 3);
ApplyAnimation(playerid, "GHANDS", "gsign3", 4.1, 0, 1, 1, 1, 0, 1);
SetPlayerColor(playerid, 0xFBFB00FF);
gTeam[playerid] = TEAM_VAGOS;
}
case 31, 34:
{
SetPlayerPos(playerid, 1886.5040,-1982.4867,13.5469,94.6081);
SetPlayerFacingAngle(playerid,94.6084);
SetPlayerCameraPos(playerid, 1884.4744,-1982.6985,13.5469,274.2948);
SetPlayerCameraLookAt(playerid, 1886.5040,-1982.4867,13.5469,94.6081);
GameTextForPlayer(playerid, "~n~ ~n~ ~n~ ~b~ Varrios Los Aztecas", 5000, 3);
ApplyAnimation(playerid, "GHANDS", "gsign4", 4.1, 0, 1, 1, 1, 0, 1);
SetPlayerColor(playerid, 0x00FFFFFF);
gTeam[playerid] = TEAM_VARIOS;
}
case 35, 39:
{
SetPlayerPos(playerid, 2187.1985,-2257.1519,14.7734,286.8751);
SetPlayerFacingAngle(playerid, 286.8751);
SetPlayerCameraPos(playerid, 2190.0791,-2256.4785,14.7734,106.1034);
SetPlayerCameraLookAt(playerid, 2187.1985,-2257.1519,14.7734,286.8751);
GameTextForPlayer(playerid, "~n~ ~n~ ~n~ ~y~ Gun Dealers", 5000, 3);
ApplyAnimation(playerid, "GHANDS", "gsign5", 4.1, 0, 1, 1, 1, 0, 1);
SetPlayerColor(playerid, 0xFF8000FF);
gTeam[playerid] = TEAM_GD;
}
case 40, 46:
{
SetPlayerPos(playerid, 1543.8285,-1631.9783,13.3828,87.9065);
SetPlayerFacingAngle(playerid, 87.9065);
SetPlayerCameraPos(playerid, 1541.3383,-1632.0958,13.3828,273.0883);
SetPlayerCameraLookAt(playerid, 1543.8285,-1631.9783,13.3828,87.9065);
GameTextForPlayer(playerid, "~n~ ~n~ ~n~ ~b~ Los Santos Police Department", 5000, 3);
ApplyAnimation(playerid, "COP_AMBIENT", "Coplook_think", 4.1, 0, 1, 1, 1, 1, 1);
SetPlayerColor(playerid, 0x8080FFFF);
gTeam[playerid] = TEAM_LSPD;
}
case 47, 52:
{
SetPlayerPos(playerid, 2467.4011,-1207.4971,41.7350,358.7741);
SetPlayerFacingAngle(playerid, 358.7741);
SetPlayerCameraPos(playerid, 2467.3232,-1205.1410,41.7350,181.9075);
SetPlayerCameraLookAt(playerid, 2467.4011,-1207.4971,41.7350,358.7741);
GameTextForPlayer(playerid, "~n~ ~n~ ~n~ ~y~ Drug Dealers", 5000, 3);
ApplyAnimation(playerid, "DEALER", "DEALER_IDLE_03", 4.1, 0, 1, 1, 1, 1, 1);
SetPlayerColor(playerid, 0x970000FF);
gTeam[playerid] = TEAM_DRUG;
}
case 53, 57:
{
SetPlayerPos(playerid, 2166.0483,-1517.9830,23.5625,157.0323);
SetPlayerFacingAngle(playerid, 157.0323);
SetPlayerCameraPos(playerid, 2164.9143,-1520.7314,23.5625,337.9723);
SetPlayerCameraLookAt(playerid, 2166.0483,-1517.9830,23.5625,157.0323);
GameTextForPlayer(playerid, "~n~ ~n~ ~n~ ~y~ Hoodrats", 5000, 3);
ApplyAnimation(playerid, "GANGS", "Invite_Yes", 4.1, 0, 1, 1, 1, 1, 1);
SetPlayerColor(playerid, 0x808080FF);
gTeam[playerid] = TEAM_HOODRAT;
}
case 58, 61:
{
SetPlayerPos(playerid, 2631.4521,-1082.2080,69.6204,265.6195);
SetPlayerFacingAngle(playerid, 265.6195);
SetPlayerCameraPos(playerid, 2634.1257,-1081.9492,69.6200,88.7529);
SetPlayerCameraLookAt(playerid, 2631.4521,-1082.2080,69.6204,265.6195);
GameTextForPlayer(playerid, "~n~ ~n~ ~n~ ~y~ The Lost Motorcycle Club.", 5000, 3);
ApplyAnimation(playerid, "GANGS", "Invite_Yes", 4.1, 0, 1, 1, 1, 1, 1);
SetPlayerColor(playerid, 0x808000FF);
gTeam[playerid] = TEAM_LTMC;
}
return 1;
}
}