Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerRequestClass(playerid, classid)
- {
- if(IsConnected[playerid] == 0) return 0;
- for(new i=0; i<10; i++)
- {
- // ELC_AC_EnablePlayerCheatID(playerid,i,false);
- }
- switch(classid) {
- case 0: {
- SetPlayerTeam(playerid, JUSTICE);
- InSafe[playerid] = 0; // pas safe
- packgun[playerid] = 0;
- InWar[playerid] = 1;
- TeamClan[playerid] = 0;
- PlayerTextDrawShow(playerid, Class0[playerid]);
- PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
- PlayerTextDrawShow(playerid, Class4[playerid]);
- PlayerTextDrawHide(playerid, Class1[playerid]);
- PlayerTextDrawHide(playerid, Class2[playerid]);
- PlayerTextDrawHide(playerid, Class3[playerid]);
- PlayerTextDrawShow(playerid, Class5[playerid]);
- PlayerTextDrawHide(playerid, Class6[playerid]);
- PlayerTextDrawHide(playerid, Class7[playerid]);
- PlayerTextDrawHide(playerid, Class8[playerid]);
- PlayerTextDrawHide(playerid, Class9[playerid]);
- PlayerTextDrawHide(playerid, Class10[playerid]);
- PlayerTextDrawHide(playerid, Class11[playerid]);
- PlayerTextDrawHide(playerid, Class12[playerid]);
- PlayerTextDrawHide(playerid, Class13[playerid]);
- PlayerTextDrawHide(playerid, Class14[playerid]);
- }
- case 1: {
- SetPlayerTeam(playerid, JUSTICE);
- InSafe[playerid] = 0; // pas safe
- packgun[playerid] = 1;
- InWar[playerid] = 1;
- TeamClan[playerid] = 0;
- PlayerTextDrawShow(playerid, Class0[playerid]);
- PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
- PlayerTextDrawShow(playerid, Class4[playerid]);
- PlayerTextDrawHide(playerid, Class1[playerid]);
- PlayerTextDrawHide(playerid, Class2[playerid]);
- PlayerTextDrawHide(playerid, Class3[playerid]);
- PlayerTextDrawShow(playerid, Class5[playerid]);
- PlayerTextDrawHide(playerid, Class6[playerid]);
- PlayerTextDrawHide(playerid, Class7[playerid]);
- PlayerTextDrawHide(playerid, Class8[playerid]);
- PlayerTextDrawHide(playerid, Class9[playerid]);
- PlayerTextDrawHide(playerid, Class10[playerid]);
- PlayerTextDrawHide(playerid, Class11[playerid]);
- PlayerTextDrawHide(playerid, Class12[playerid]);
- PlayerTextDrawHide(playerid, Class13[playerid]);
- PlayerTextDrawHide(playerid, Class14[playerid]);
- }
- case 2: {
- SetPlayerTeam(playerid, JUSTICE);
- InSafe[playerid] = 0; // pas safe
- packgun[playerid] = 2;
- InWar[playerid] = 1;
- TeamClan[playerid] = 0;
- PlayerTextDrawShow(playerid, Class0[playerid]);
- PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
- PlayerTextDrawShow(playerid, Class4[playerid]);
- PlayerTextDrawHide(playerid, Class1[playerid]);
- PlayerTextDrawHide(playerid, Class2[playerid]);
- PlayerTextDrawHide(playerid, Class3[playerid]);
- PlayerTextDrawHide(playerid, Class6[playerid]);
- PlayerTextDrawShow(playerid, Class5[playerid]);
- PlayerTextDrawHide(playerid, Class7[playerid]);
- PlayerTextDrawHide(playerid, Class8[playerid]);
- PlayerTextDrawHide(playerid, Class9[playerid]);
- PlayerTextDrawHide(playerid, Class10[playerid]);
- PlayerTextDrawHide(playerid, Class11[playerid]);
- PlayerTextDrawHide(playerid, Class12[playerid]);
- PlayerTextDrawHide(playerid, Class13[playerid]);
- PlayerTextDrawHide(playerid, Class14[playerid]);
- }
- case 3: {
- SetPlayerTeam(playerid, JUSTICE);
- InSafe[playerid] = 0; // pas safe
- packgun[playerid] = 3;
- InWar[playerid] = 1;
- TeamClan[playerid] = 0;
- PlayerTextDrawShow(playerid, Class0[playerid]);
- PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
- PlayerTextDrawShow(playerid, Class4[playerid]);
- PlayerTextDrawHide(playerid, Class1[playerid]);
- PlayerTextDrawHide(playerid, Class2[playerid]);
- PlayerTextDrawHide(playerid, Class3[playerid]);
- PlayerTextDrawShow(playerid, Class5[playerid]);
- PlayerTextDrawHide(playerid, Class6[playerid]);
- PlayerTextDrawHide(playerid, Class7[playerid]);
- PlayerTextDrawHide(playerid, Class8[playerid]);
- PlayerTextDrawHide(playerid, Class9[playerid]);
- PlayerTextDrawHide(playerid, Class10[playerid]);
- PlayerTextDrawHide(playerid, Class11[playerid]);
- PlayerTextDrawHide(playerid, Class12[playerid]);
- PlayerTextDrawHide(playerid, Class13[playerid]);
- PlayerTextDrawHide(playerid, Class14[playerid]);
- }
- case 4: {
- SetPlayerTeam(playerid, GROVE);
- InSafe[playerid] = 0; // pas safe
- packgun[playerid] = 0;
- InWar[playerid] = 1;
- TeamClan[playerid] = 0;
- PlayerTextDrawShow(playerid, Class1[playerid]);
- PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
- PlayerTextDrawShow(playerid, Class4[playerid]);
- PlayerTextDrawHide(playerid, Class0[playerid]);
- PlayerTextDrawHide(playerid, Class2[playerid]);
- PlayerTextDrawHide(playerid, Class3[playerid]);
- PlayerTextDrawHide(playerid, Class5[playerid]);
- PlayerTextDrawHide(playerid, Class6[playerid]);
- PlayerTextDrawHide(playerid, Class7[playerid]);
- PlayerTextDrawHide(playerid, Class8[playerid]);
- PlayerTextDrawHide(playerid, Class9[playerid]);
- PlayerTextDrawHide(playerid, Class10[playerid]);
- PlayerTextDrawHide(playerid, Class11[playerid]);
- PlayerTextDrawHide(playerid, Class12[playerid]);
- PlayerTextDrawHide(playerid, Class13[playerid]);
- PlayerTextDrawHide(playerid, Class14[playerid]);
- }
- case 5: {
- SetPlayerTeam(playerid, GROVE);
- InSafe[playerid] = 0; // pas safe
- packgun[playerid] = 1;
- InWar[playerid] = 1;
- TeamClan[playerid] = 0;
- PlayerTextDrawShow(playerid, Class1[playerid]);
- PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
- PlayerTextDrawShow(playerid, Class4[playerid]);
- PlayerTextDrawHide(playerid, Class0[playerid]);
- PlayerTextDrawHide(playerid, Class2[playerid]);
- PlayerTextDrawHide(playerid, Class3[playerid]);
- PlayerTextDrawShow(playerid, Class5[playerid]);
- PlayerTextDrawHide(playerid, Class6[playerid]);
- PlayerTextDrawHide(playerid, Class7[playerid]);
- PlayerTextDrawHide(playerid, Class8[playerid]);
- PlayerTextDrawHide(playerid, Class9[playerid]);
- PlayerTextDrawHide(playerid, Class10[playerid]);
- PlayerTextDrawHide(playerid, Class11[playerid]);
- PlayerTextDrawHide(playerid, Class12[playerid]);
- PlayerTextDrawHide(playerid, Class13[playerid]);
- PlayerTextDrawHide(playerid, Class14[playerid]);
- }
- case 6: {
- SetPlayerTeam(playerid, GROVE);
- InSafe[playerid] = 0; // pas safe
- packgun[playerid] = 2;
- InWar[playerid] = 1;
- TeamClan[playerid] = 0;
- PlayerTextDrawShow(playerid, Class1[playerid]);
- PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
- PlayerTextDrawShow(playerid, Class4[playerid]);
- PlayerTextDrawHide(playerid, Class0[playerid]);
- PlayerTextDrawHide(playerid, Class2[playerid]);
- PlayerTextDrawHide(playerid, Class3[playerid]);
- PlayerTextDrawShow(playerid, Class5[playerid]);
- PlayerTextDrawHide(playerid, Class6[playerid]);
- PlayerTextDrawHide(playerid, Class7[playerid]);
- PlayerTextDrawHide(playerid, Class8[playerid]);
- PlayerTextDrawHide(playerid, Class9[playerid]);
- PlayerTextDrawHide(playerid, Class10[playerid]);
- PlayerTextDrawHide(playerid, Class11[playerid]);
- PlayerTextDrawHide(playerid, Class12[playerid]);
- PlayerTextDrawHide(playerid, Class13[playerid]);
- PlayerTextDrawHide(playerid, Class14[playerid]);
- }
- case 7: {
- SetPlayerTeam(playerid, GROVE);
- InSafe[playerid] = 0; // pas safe
- packgun[playerid] = 3;
- InWar[playerid] = 1;
- TeamClan[playerid] = 0;
- PlayerTextDrawShow(playerid, Class1[playerid]);
- PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
- PlayerTextDrawShow(playerid, Class4[playerid]);
- PlayerTextDrawHide(playerid, Class0[playerid]);
- PlayerTextDrawHide(playerid, Class2[playerid]);
- PlayerTextDrawHide(playerid, Class3[playerid]);
- PlayerTextDrawHide(playerid, Class6[playerid]);
- PlayerTextDrawShow(playerid, Class5[playerid]);
- PlayerTextDrawHide(playerid, Class7[playerid]);
- PlayerTextDrawHide(playerid, Class8[playerid]);
- PlayerTextDrawHide(playerid, Class9[playerid]);
- PlayerTextDrawHide(playerid, Class10[playerid]);
- PlayerTextDrawHide(playerid, Class11[playerid]);
- PlayerTextDrawHide(playerid, Class12[playerid]);
- PlayerTextDrawHide(playerid, Class13[playerid]);
- PlayerTextDrawHide(playerid, Class14[playerid]);
- }
- case 8: {
- SetPlayerTeam(playerid, BALLAS);
- InSafe[playerid] = 0; // pas safe
- packgun[playerid] = 0;
- InWar[playerid] = 1;
- TeamClan[playerid] = 0;
- PlayerTextDrawShow(playerid, Class2[playerid]);
- PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
- PlayerTextDrawShow(playerid, Class4[playerid]);
- PlayerTextDrawHide(playerid, Class0[playerid]);
- PlayerTextDrawHide(playerid, Class1[playerid]);
- PlayerTextDrawHide(playerid, Class3[playerid]);
- PlayerTextDrawHide(playerid, Class5[playerid]);
- PlayerTextDrawHide(playerid, Class6[playerid]);
- PlayerTextDrawHide(playerid, Class7[playerid]);
- PlayerTextDrawHide(playerid, Class8[playerid]);
- PlayerTextDrawHide(playerid, Class9[playerid]);
- PlayerTextDrawHide(playerid, Class10[playerid]);
- PlayerTextDrawHide(playerid, Class11[playerid]);
- PlayerTextDrawHide(playerid, Class12[playerid]);
- PlayerTextDrawHide(playerid, Class13[playerid]);
- PlayerTextDrawHide(playerid, Class14[playerid]);
- }
- case 9: {
- SetPlayerTeam(playerid, BALLAS);
- InSafe[playerid] = 0; // pas safe
- packgun[playerid] = 1;
- InWar[playerid] = 1;
- TeamClan[playerid] = 0;
- PlayerTextDrawShow(playerid, Class2[playerid]);
- PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
- PlayerTextDrawShow(playerid, Class4[playerid]);
- PlayerTextDrawHide(playerid, Class0[playerid]);
- PlayerTextDrawHide(playerid, Class1[playerid]);
- PlayerTextDrawHide(playerid, Class3[playerid]);
- PlayerTextDrawShow(playerid, Class5[playerid]);
- PlayerTextDrawHide(playerid, Class6[playerid]);
- PlayerTextDrawHide(playerid, Class7[playerid]);
- PlayerTextDrawHide(playerid, Class8[playerid]);
- PlayerTextDrawHide(playerid, Class9[playerid]);
- PlayerTextDrawHide(playerid, Class10[playerid]);
- PlayerTextDrawHide(playerid, Class11[playerid]);
- PlayerTextDrawHide(playerid, Class12[playerid]);
- PlayerTextDrawHide(playerid, Class13[playerid]);
- PlayerTextDrawHide(playerid, Class14[playerid]);
- }
- case 10: {
- SetPlayerTeam(playerid, BALLAS);
- InSafe[playerid] = 0; // pas safe
- packgun[playerid] = 2;
- InWar[playerid] = 1;
- TeamClan[playerid] = 0;
- PlayerTextDrawShow(playerid, Class2[playerid]);
- PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
- PlayerTextDrawShow(playerid, Class4[playerid]);
- PlayerTextDrawHide(playerid, Class0[playerid]);
- PlayerTextDrawHide(playerid, Class1[playerid]);
- PlayerTextDrawHide(playerid, Class3[playerid]);
- PlayerTextDrawShow(playerid, Class5[playerid]);
- PlayerTextDrawHide(playerid, Class6[playerid]);
- PlayerTextDrawHide(playerid, Class7[playerid]);
- PlayerTextDrawHide(playerid, Class8[playerid]);
- PlayerTextDrawHide(playerid, Class9[playerid]);
- PlayerTextDrawHide(playerid, Class10[playerid]);
- PlayerTextDrawHide(playerid, Class11[playerid]);
- PlayerTextDrawHide(playerid, Class12[playerid]);
- PlayerTextDrawHide(playerid, Class13[playerid]);
- PlayerTextDrawHide(playerid, Class14[playerid]);
- }
- case 11: {
- SetPlayerTeam(playerid, BALLAS);
- InSafe[playerid] = 0; // pas safe
- packgun[playerid] = 3;
- InWar[playerid] = 1;
- TeamClan[playerid] = 0;
- PlayerTextDrawShow(playerid, Class2[playerid]);
- PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
- PlayerTextDrawShow(playerid, Class4[playerid]);
- PlayerTextDrawHide(playerid, Class0[playerid]);
- PlayerTextDrawHide(playerid, Class1[playerid]);
- PlayerTextDrawHide(playerid, Class3[playerid]);
- PlayerTextDrawShow(playerid, Class5[playerid]);
- PlayerTextDrawHide(playerid, Class6[playerid]);
- PlayerTextDrawHide(playerid, Class7[playerid]);
- PlayerTextDrawHide(playerid, Class8[playerid]);
- PlayerTextDrawHide(playerid, Class9[playerid]);
- PlayerTextDrawHide(playerid, Class10[playerid]);
- PlayerTextDrawHide(playerid, Class11[playerid]);
- PlayerTextDrawHide(playerid, Class12[playerid]);
- PlayerTextDrawHide(playerid, Class13[playerid]);
- PlayerTextDrawHide(playerid, Class14[playerid]);
- }
- case 12: {
- SetPlayerTeam(playerid, VAGOS);
- InSafe[playerid] = 0; // pas safe
- packgun[playerid] = 0;
- InWar[playerid] = 1;
- TeamClan[playerid] = 0;
- PlayerTextDrawHide(playerid, Class2[playerid]);
- PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
- PlayerTextDrawShow(playerid, Class4[playerid]);
- PlayerTextDrawHide(playerid, Class0[playerid]);
- PlayerTextDrawHide(playerid, Class1[playerid]);
- PlayerTextDrawShow(playerid, Class3[playerid]);
- PlayerTextDrawHide(playerid, Class5[playerid]);
- PlayerTextDrawHide(playerid, Class6[playerid]);
- PlayerTextDrawHide(playerid, Class7[playerid]);
- PlayerTextDrawHide(playerid, Class8[playerid]);
- PlayerTextDrawHide(playerid, Class9[playerid]);
- PlayerTextDrawHide(playerid, Class10[playerid]);
- PlayerTextDrawHide(playerid, Class11[playerid]);
- PlayerTextDrawHide(playerid, Class12[playerid]);
- PlayerTextDrawHide(playerid, Class13[playerid]);
- PlayerTextDrawHide(playerid, Class14[playerid]);
- }
- case 13: {
- SetPlayerTeam(playerid, VAGOS);
- InSafe[playerid] = 0; // pas safe
- packgun[playerid] = 1;
- InWar[playerid] = 1;
- TeamClan[playerid] = 0;
- PlayerTextDrawHide(playerid, Class2[playerid]);
- PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
- PlayerTextDrawShow(playerid, Class4[playerid]);
- PlayerTextDrawHide(playerid, Class0[playerid]);
- PlayerTextDrawHide(playerid, Class1[playerid]);
- PlayerTextDrawShow(playerid, Class3[playerid]);
- PlayerTextDrawShow(playerid, Class5[playerid]);
- PlayerTextDrawHide(playerid, Class6[playerid]);
- PlayerTextDrawHide(playerid, Class7[playerid]);
- PlayerTextDrawHide(playerid, Class8[playerid]);
- PlayerTextDrawHide(playerid, Class9[playerid]);
- PlayerTextDrawHide(playerid, Class10[playerid]);
- PlayerTextDrawHide(playerid, Class11[playerid]);
- PlayerTextDrawHide(playerid, Class12[playerid]);
- PlayerTextDrawHide(playerid, Class13[playerid]);
- PlayerTextDrawHide(playerid, Class14[playerid]);
- }
- case 14: {
- SetPlayerTeam(playerid, VAGOS);
- InSafe[playerid] = 0; // pas safe
- packgun[playerid] = 2;
- InWar[playerid] = 1;
- TeamClan[playerid] = 0;
- PlayerTextDrawHide(playerid, Class2[playerid]);
- PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
- PlayerTextDrawShow(playerid, Class4[playerid]);
- PlayerTextDrawHide(playerid, Class0[playerid]);
- PlayerTextDrawHide(playerid, Class1[playerid]);
- PlayerTextDrawShow(playerid, Class3[playerid]);
- PlayerTextDrawShow(playerid, Class5[playerid]);
- PlayerTextDrawHide(playerid, Class6[playerid]);
- PlayerTextDrawHide(playerid, Class7[playerid]);
- PlayerTextDrawHide(playerid, Class8[playerid]);
- PlayerTextDrawHide(playerid, Class9[playerid]);
- PlayerTextDrawHide(playerid, Class10[playerid]);
- PlayerTextDrawHide(playerid, Class11[playerid]);
- PlayerTextDrawHide(playerid, Class12[playerid]);
- PlayerTextDrawHide(playerid, Class13[playerid]);
- PlayerTextDrawHide(playerid, Class14[playerid]);
- }
- case 15: {
- SetPlayerTeam(playerid, VAGOS);
- InSafe[playerid] = 0; // pas safe
- packgun[playerid] = 3;
- InWar[playerid] = 1;
- TeamClan[playerid] = 0;
- PlayerTextDrawHide(playerid, Class2[playerid]);
- PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
- PlayerTextDrawShow(playerid, Class4[playerid]);
- PlayerTextDrawHide(playerid, Class0[playerid]);
- PlayerTextDrawHide(playerid, Class1[playerid]);
- PlayerTextDrawShow(playerid, Class3[playerid]);
- PlayerTextDrawShow(playerid, Class5[playerid]);
- PlayerTextDrawHide(playerid, Class6[playerid]);
- PlayerTextDrawHide(playerid, Class7[playerid]);
- PlayerTextDrawHide(playerid, Class8[playerid]);
- PlayerTextDrawHide(playerid, Class9[playerid]);
- PlayerTextDrawHide(playerid, Class10[playerid]);
- PlayerTextDrawHide(playerid, Class11[playerid]);
- PlayerTextDrawHide(playerid, Class12[playerid]);
- PlayerTextDrawHide(playerid, Class13[playerid]);
- PlayerTextDrawHide(playerid, Class14[playerid]);
- }
- case 18: {
- SetPlayerTeam(playerid, AZTECAS);
- InSafe[playerid] = 0; // pas safe
- packgun[playerid] = 0;
- InWar[playerid] = 1;
- TeamClan[playerid] = 0;
- PlayerTextDrawShow(playerid, Class11[playerid]);
- PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
- PlayerTextDrawShow(playerid, Class4[playerid]);
- PlayerTextDrawHide(playerid, Class0[playerid]);
- PlayerTextDrawHide(playerid, Class1[playerid]);
- PlayerTextDrawHide(playerid, Class3[playerid]);
- PlayerTextDrawHide(playerid, Class5[playerid]);
- PlayerTextDrawHide(playerid, Class6[playerid]);
- PlayerTextDrawHide(playerid, Class7[playerid]);
- PlayerTextDrawHide(playerid, Class8[playerid]);
- PlayerTextDrawHide(playerid, Class9[playerid]);
- PlayerTextDrawHide(playerid, Class10[playerid]);
- PlayerTextDrawHide(playerid, Class12[playerid]);
- PlayerTextDrawHide(playerid, Class13[playerid]);
- PlayerTextDrawHide(playerid, Class14[playerid]);
- }
- case 19: {
- SetPlayerTeam(playerid, AZTECAS);
- InSafe[playerid] = 0; // pas safe
- packgun[playerid] = 1;
- InWar[playerid] = 1;
- TeamClan[playerid] = 0;
- PlayerTextDrawShow(playerid, Class11[playerid]);
- PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
- PlayerTextDrawShow(playerid, Class4[playerid]);
- PlayerTextDrawHide(playerid, Class0[playerid]);
- PlayerTextDrawHide(playerid, Class1[playerid]);
- PlayerTextDrawHide(playerid, Class3[playerid]);
- PlayerTextDrawShow(playerid, Class5[playerid]);
- PlayerTextDrawHide(playerid, Class6[playerid]);
- PlayerTextDrawHide(playerid, Class7[playerid]);
- PlayerTextDrawHide(playerid, Class8[playerid]);
- PlayerTextDrawHide(playerid, Class9[playerid]);
- PlayerTextDrawHide(playerid, Class10[playerid]);
- PlayerTextDrawHide(playerid, Class12[playerid]);
- PlayerTextDrawHide(playerid, Class13[playerid]);
- PlayerTextDrawHide(playerid, Class14[playerid]);
- }
- case 20: {
- SetPlayerTeam(playerid, AZTECAS);
- InSafe[playerid] = 0; // pas safe
- packgun[playerid] = 2;
- InWar[playerid] = 1;
- TeamClan[playerid] = 0;
- PlayerTextDrawShow(playerid, Class11[playerid]);
- PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
- PlayerTextDrawShow(playerid, Class4[playerid]);
- PlayerTextDrawHide(playerid, Class0[playerid]);
- PlayerTextDrawHide(playerid, Class1[playerid]);
- PlayerTextDrawHide(playerid, Class3[playerid]);
- PlayerTextDrawShow(playerid, Class5[playerid]);
- PlayerTextDrawHide(playerid, Class6[playerid]);
- PlayerTextDrawHide(playerid, Class7[playerid]);
- PlayerTextDrawHide(playerid, Class8[playerid]);
- PlayerTextDrawHide(playerid, Class9[playerid]);
- PlayerTextDrawHide(playerid, Class10[playerid]);
- PlayerTextDrawHide(playerid, Class12[playerid]);
- PlayerTextDrawHide(playerid, Class13[playerid]);
- PlayerTextDrawHide(playerid, Class14[playerid]);
- }
- case 21: {
- SetPlayerTeam(playerid, AZTECAS);
- InSafe[playerid] = 0; // pas safe
- packgun[playerid] = 3;
- InWar[playerid] = 1;
- TeamClan[playerid] = 0;
- PlayerTextDrawShow(playerid, Class11[playerid]);
- PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
- PlayerTextDrawShow(playerid, Class4[playerid]);
- PlayerTextDrawHide(playerid, Class0[playerid]);
- PlayerTextDrawHide(playerid, Class1[playerid]);
- PlayerTextDrawHide(playerid, Class3[playerid]);
- PlayerTextDrawShow(playerid, Class5[playerid]);
- PlayerTextDrawHide(playerid, Class6[playerid]);
- PlayerTextDrawHide(playerid, Class7[playerid]);
- PlayerTextDrawHide(playerid, Class8[playerid]);
- PlayerTextDrawHide(playerid, Class9[playerid]);
- PlayerTextDrawHide(playerid, Class10[playerid]);
- PlayerTextDrawHide(playerid, Class12[playerid]);
- PlayerTextDrawHide(playerid, Class13[playerid]);
- PlayerTextDrawHide(playerid, Class14[playerid]);
- }
- case 22: {
- SetPlayerTeam(playerid, RIFA);
- InSafe[playerid] = 0; // pas safe
- packgun[playerid] = 0;
- InWar[playerid] = 1;
- TeamClan[playerid] = 0;
- PlayerTextDrawShow(playerid, Class12[playerid]);
- PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
- PlayerTextDrawShow(playerid, Class4[playerid]);
- PlayerTextDrawHide(playerid, Class0[playerid]);
- PlayerTextDrawHide(playerid, Class1[playerid]);
- PlayerTextDrawHide(playerid, Class3[playerid]);
- PlayerTextDrawHide(playerid, Class5[playerid]);
- PlayerTextDrawHide(playerid, Class6[playerid]);
- PlayerTextDrawHide(playerid, Class7[playerid]);
- PlayerTextDrawHide(playerid, Class8[playerid]);
- PlayerTextDrawHide(playerid, Class9[playerid]);
- PlayerTextDrawHide(playerid, Class10[playerid]);
- PlayerTextDrawHide(playerid, Class11[playerid]);
- PlayerTextDrawHide(playerid, Class13[playerid]);
- PlayerTextDrawHide(playerid, Class14[playerid]);
- }
- case 23: {
- SetPlayerTeam(playerid, RIFA);
- InSafe[playerid] = 0; // pas safe
- packgun[playerid] = 1;
- InWar[playerid] = 1;
- TeamClan[playerid] = 0;
- PlayerTextDrawShow(playerid, Class12[playerid]);
- PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
- PlayerTextDrawShow(playerid, Class4[playerid]);
- PlayerTextDrawHide(playerid, Class0[playerid]);
- PlayerTextDrawHide(playerid, Class1[playerid]);
- PlayerTextDrawHide(playerid, Class3[playerid]);
- PlayerTextDrawShow(playerid, Class5[playerid]);
- PlayerTextDrawHide(playerid, Class6[playerid]);
- PlayerTextDrawHide(playerid, Class7[playerid]);
- PlayerTextDrawHide(playerid, Class8[playerid]);
- PlayerTextDrawHide(playerid, Class9[playerid]);
- PlayerTextDrawHide(playerid, Class10[playerid]);
- PlayerTextDrawHide(playerid, Class11[playerid]);
- PlayerTextDrawHide(playerid, Class13[playerid]);
- PlayerTextDrawHide(playerid, Class14[playerid]);
- }
- case 24: {
- SetPlayerTeam(playerid, RIFA);
- InSafe[playerid] = 0; // pas safe
- packgun[playerid] = 2;
- InWar[playerid] = 1;
- TeamClan[playerid] = 0;
- PlayerTextDrawShow(playerid, Class12[playerid]);
- PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
- PlayerTextDrawShow(playerid, Class4[playerid]);
- PlayerTextDrawHide(playerid, Class0[playerid]);
- PlayerTextDrawHide(playerid, Class1[playerid]);
- PlayerTextDrawHide(playerid, Class3[playerid]);
- PlayerTextDrawShow(playerid, Class5[playerid]);
- PlayerTextDrawHide(playerid, Class6[playerid]);
- PlayerTextDrawHide(playerid, Class7[playerid]);
- PlayerTextDrawHide(playerid, Class8[playerid]);
- PlayerTextDrawHide(playerid, Class9[playerid]);
- PlayerTextDrawHide(playerid, Class10[playerid]);
- PlayerTextDrawHide(playerid, Class11[playerid]);
- PlayerTextDrawHide(playerid, Class13[playerid]);
- PlayerTextDrawHide(playerid, Class14[playerid]);
- }
- case 25: {
- SetPlayerTeam(playerid, RIFA);
- InSafe[playerid] = 0; // pas safe
- packgun[playerid] = 3;
- InWar[playerid] = 1;
- TeamClan[playerid] = 0;
- PlayerTextDrawShow(playerid, Class12[playerid]);
- PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
- PlayerTextDrawShow(playerid, Class4[playerid]);
- PlayerTextDrawHide(playerid, Class0[playerid]);
- PlayerTextDrawHide(playerid, Class1[playerid]);
- PlayerTextDrawHide(playerid, Class3[playerid]);
- PlayerTextDrawShow(playerid, Class5[playerid]);
- PlayerTextDrawHide(playerid, Class6[playerid]);
- PlayerTextDrawHide(playerid, Class7[playerid]);
- PlayerTextDrawHide(playerid, Class8[playerid]);
- PlayerTextDrawHide(playerid, Class9[playerid]);
- PlayerTextDrawHide(playerid, Class10[playerid]);
- PlayerTextDrawHide(playerid, Class11[playerid]);
- PlayerTextDrawHide(playerid, Class13[playerid]);
- PlayerTextDrawHide(playerid, Class14[playerid]);
- }
- case 26: {
- SetPlayerTeam(playerid, DNB);
- InSafe[playerid] = 0; // pas safe
- packgun[playerid] = 0;
- InWar[playerid] = 1;
- TeamClan[playerid] = 0;
- PlayerTextDrawShow(playerid, Class13[playerid]);
- PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
- PlayerTextDrawShow(playerid, Class4[playerid]);
- PlayerTextDrawHide(playerid, Class0[playerid]);
- PlayerTextDrawHide(playerid, Class1[playerid]);
- PlayerTextDrawHide(playerid, Class3[playerid]);
- PlayerTextDrawHide(playerid, Class5[playerid]);
- PlayerTextDrawHide(playerid, Class6[playerid]);
- PlayerTextDrawHide(playerid, Class7[playerid]);
- PlayerTextDrawHide(playerid, Class8[playerid]);
- PlayerTextDrawHide(playerid, Class9[playerid]);
- PlayerTextDrawHide(playerid, Class10[playerid]);
- PlayerTextDrawHide(playerid, Class11[playerid]);
- PlayerTextDrawHide(playerid, Class12[playerid]);
- PlayerTextDrawHide(playerid, Class14[playerid]);
- }
- case 27: {
- SetPlayerTeam(playerid, DNB);
- InSafe[playerid] = 0; // pas safe
- packgun[playerid] = 1;
- InWar[playerid] = 1;
- TeamClan[playerid] = 0;
- PlayerTextDrawShow(playerid, Class13[playerid]);
- PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
- PlayerTextDrawShow(playerid, Class4[playerid]);
- PlayerTextDrawHide(playerid, Class0[playerid]);
- PlayerTextDrawHide(playerid, Class1[playerid]);
- PlayerTextDrawHide(playerid, Class3[playerid]);
- PlayerTextDrawShow(playerid, Class5[playerid]);
- PlayerTextDrawHide(playerid, Class6[playerid]);
- PlayerTextDrawHide(playerid, Class7[playerid]);
- PlayerTextDrawHide(playerid, Class8[playerid]);
- PlayerTextDrawHide(playerid, Class9[playerid]);
- PlayerTextDrawHide(playerid, Class10[playerid]);
- PlayerTextDrawHide(playerid, Class11[playerid]);
- PlayerTextDrawHide(playerid, Class12[playerid]);
- PlayerTextDrawHide(playerid, Class14[playerid]);
- }
- case 28: {
- SetPlayerTeam(playerid, DNB);
- InSafe[playerid] = 0; // pas safe
- packgun[playerid] = 2;
- InWar[playerid] = 1;
- TeamClan[playerid] = 0;
- PlayerTextDrawShow(playerid, Class13[playerid]);
- PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
- PlayerTextDrawShow(playerid, Class4[playerid]);
- PlayerTextDrawHide(playerid, Class0[playerid]);
- PlayerTextDrawHide(playerid, Class1[playerid]);
- PlayerTextDrawHide(playerid, Class3[playerid]);
- PlayerTextDrawShow(playerid, Class5[playerid]);
- PlayerTextDrawHide(playerid, Class6[playerid]);
- PlayerTextDrawHide(playerid, Class7[playerid]);
- PlayerTextDrawHide(playerid, Class8[playerid]);
- PlayerTextDrawHide(playerid, Class9[playerid]);
- PlayerTextDrawHide(playerid, Class10[playerid]);
- PlayerTextDrawHide(playerid, Class11[playerid]);
- PlayerTextDrawHide(playerid, Class12[playerid]);
- PlayerTextDrawHide(playerid, Class14[playerid]);
- }
- case 29: {
- SetPlayerTeam(playerid, DNB);
- InSafe[playerid] = 0; // pas safe
- packgun[playerid] = 3;
- InWar[playerid] = 1;
- TeamClan[playerid] = 0;
- PlayerTextDrawShow(playerid, Class13[playerid]);
- PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
- PlayerTextDrawShow(playerid, Class4[playerid]);
- PlayerTextDrawHide(playerid, Class0[playerid]);
- PlayerTextDrawHide(playerid, Class1[playerid]);
- PlayerTextDrawHide(playerid, Class3[playerid]);
- PlayerTextDrawShow(playerid, Class5[playerid]);
- PlayerTextDrawHide(playerid, Class6[playerid]);
- PlayerTextDrawHide(playerid, Class7[playerid]);
- PlayerTextDrawHide(playerid, Class8[playerid]);
- PlayerTextDrawHide(playerid, Class9[playerid]);
- PlayerTextDrawHide(playerid, Class10[playerid]);
- PlayerTextDrawHide(playerid, Class11[playerid]);
- PlayerTextDrawHide(playerid, Class12[playerid]);
- PlayerTextDrawHide(playerid, Class14[playerid]);
- }
- case 30: {
- SetPlayerTeam(playerid, MafiaR);
- InSafe[playerid] = 0; // pas safe
- packgun[playerid] = 0;
- InWar[playerid] = 1;
- TeamClan[playerid] = 0;
- PlayerTextDrawShow(playerid, Class14[playerid]);
- PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
- PlayerTextDrawShow(playerid, Class4[playerid]);
- PlayerTextDrawHide(playerid, Class0[playerid]);
- PlayerTextDrawHide(playerid, Class1[playerid]);
- PlayerTextDrawHide(playerid, Class3[playerid]);
- PlayerTextDrawHide(playerid, Class5[playerid]);
- PlayerTextDrawHide(playerid, Class6[playerid]);
- PlayerTextDrawHide(playerid, Class7[playerid]);
- PlayerTextDrawHide(playerid, Class8[playerid]);
- PlayerTextDrawHide(playerid, Class9[playerid]);
- PlayerTextDrawHide(playerid, Class10[playerid]);
- PlayerTextDrawHide(playerid, Class11[playerid]);
- PlayerTextDrawHide(playerid, Class12[playerid]);
- PlayerTextDrawHide(playerid, Class13[playerid]);
- }
- case 31: {
- SetPlayerTeam(playerid, MafiaR);
- InSafe[playerid] = 0; // pas safe
- packgun[playerid] = 1;
- InWar[playerid] = 1;
- TeamClan[playerid] = 0;
- PlayerTextDrawShow(playerid, Class14[playerid]);
- PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
- PlayerTextDrawShow(playerid, Class4[playerid]);
- PlayerTextDrawHide(playerid, Class0[playerid]);
- PlayerTextDrawHide(playerid, Class1[playerid]);
- PlayerTextDrawHide(playerid, Class3[playerid]);
- PlayerTextDrawShow(playerid, Class5[playerid]);
- PlayerTextDrawHide(playerid, Class6[playerid]);
- PlayerTextDrawHide(playerid, Class7[playerid]);
- PlayerTextDrawHide(playerid, Class8[playerid]);
- PlayerTextDrawHide(playerid, Class9[playerid]);
- PlayerTextDrawHide(playerid, Class10[playerid]);
- PlayerTextDrawHide(playerid, Class11[playerid]);
- PlayerTextDrawHide(playerid, Class12[playerid]);
- PlayerTextDrawHide(playerid, Class13[playerid]);
- }
- case 32: {
- SetPlayerTeam(playerid, MafiaR);
- InSafe[playerid] = 0; // pas safe
- packgun[playerid] = 2;
- InWar[playerid] = 1;
- TeamClan[playerid] = 0;
- PlayerTextDrawShow(playerid, Class14[playerid]);
- PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
- PlayerTextDrawShow(playerid, Class4[playerid]);
- PlayerTextDrawHide(playerid, Class0[playerid]);
- PlayerTextDrawHide(playerid, Class1[playerid]);
- PlayerTextDrawHide(playerid, Class3[playerid]);
- PlayerTextDrawShow(playerid, Class5[playerid]);
- PlayerTextDrawHide(playerid, Class6[playerid]);
- PlayerTextDrawHide(playerid, Class7[playerid]);
- PlayerTextDrawHide(playerid, Class8[playerid]);
- PlayerTextDrawHide(playerid, Class9[playerid]);
- PlayerTextDrawHide(playerid, Class10[playerid]);
- PlayerTextDrawHide(playerid, Class11[playerid]);
- PlayerTextDrawHide(playerid, Class12[playerid]);
- PlayerTextDrawHide(playerid, Class13[playerid]);
- }
- case 33: {
- SetPlayerTeam(playerid, MafiaR);
- InSafe[playerid] = 0; // pas safe
- packgun[playerid] = 3;
- InWar[playerid] = 1;
- TeamClan[playerid] = 0;
- PlayerTextDrawShow(playerid, Class14[playerid]);
- PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
- PlayerTextDrawShow(playerid, Class4[playerid]);
- PlayerTextDrawHide(playerid, Class0[playerid]);
- PlayerTextDrawHide(playerid, Class1[playerid]);
- PlayerTextDrawHide(playerid, Class3[playerid]);
- PlayerTextDrawShow(playerid, Class5[playerid]);
- PlayerTextDrawHide(playerid, Class6[playerid]);
- PlayerTextDrawHide(playerid, Class7[playerid]);
- PlayerTextDrawHide(playerid, Class8[playerid]);
- PlayerTextDrawHide(playerid, Class9[playerid]);
- PlayerTextDrawHide(playerid, Class10[playerid]);
- PlayerTextDrawHide(playerid, Class11[playerid]);
- PlayerTextDrawHide(playerid, Class12[playerid]);
- PlayerTextDrawHide(playerid, Class13[playerid]);
- }
- case 16: {
- SetPlayerTeam(playerid, SAFE);
- packgun[playerid] = -1;
- InWar[playerid] = 0;
- TeamClan[playerid] = 0;
- PlayerTextDrawShow(playerid, Class6[playerid]);
- PlayerTextDrawShow(playerid, Class7[playerid]);
- PlayerTextDrawHide(playerid, Class4[playerid]);
- PlayerTextDrawHide(playerid, Class2[playerid]);
- PlayerTextDrawHide(playerid, Class0[playerid]);
- PlayerTextDrawHide(playerid, Class1[playerid]);
- PlayerTextDrawHide(playerid, Class3[playerid]);
- PlayerTextDrawHide(playerid, Class5[playerid]);
- PlayerTextDrawHide(playerid, Class8[playerid]);
- PlayerTextDrawHide(playerid, Class9[playerid]);
- PlayerTextDrawHide(playerid, Class10[playerid]);
- PlayerTextDrawHide(playerid, Class11[playerid]);
- PlayerTextDrawHide(playerid, Class12[playerid]);
- PlayerTextDrawHide(playerid, Class13[playerid]);
- }
- case 17: {
- SetPlayerTeam(playerid, CLAN);
- if(PlayerInfo[playerid][pPack] == 0)
- {
- packgun[playerid] = 0;
- }
- if(PlayerInfo[playerid][pPack] == 1)
- {
- packgun[playerid] = 1;
- }
- if(PlayerInfo[playerid][pPack] == 2)
- {
- packgun[playerid] = 2;
- }
- if(PlayerInfo[playerid][pPack] == 3)
- {
- packgun[playerid] = 3;
- }
- InWar[playerid] = 1;
- TeamClan[playerid] = 1;
- if(PlayerInfo[playerid][pTeam] != -1)
- {
- new string[MAX_STRING_MSG];
- format(string, sizeof(string), "~w~%s", ClanInfo[ PlayerInfo[playerid][pTeam] ][cName]);
- PlayerTextDrawSetString(playerid, Class9[playerid], string);
- PlayerTextDrawShow(playerid, Class9[playerid]);
- SetPlayerSkin(playerid, ClanInfo[ PlayerInfo[playerid][pTeam] ][cSkin]);
- }
- else
- {
- PlayerTextDrawSetString(playerid, Class9[playerid], "~w~You have no clan");
- PlayerTextDrawShow(playerid, Class9[playerid]);
- }
- PlayerTextDrawHide(playerid, Class2[playerid]);
- PlayerTextDrawHide(playerid, Class0[playerid]);
- PlayerTextDrawHide(playerid, Class1[playerid]);
- PlayerTextDrawHide(playerid, Class3[playerid]);
- PlayerTextDrawHide(playerid, Class5[playerid]);
- PlayerTextDrawHide(playerid, Class6[playerid]);
- PlayerTextDrawHide(playerid, Class7[playerid]);
- PlayerTextDrawShow(playerid, Class8[playerid]);
- PlayerTextDrawShow(playerid, Class10[playerid]);
- PlayerTextDrawHide(playerid, Class4[playerid]);
- PlayerTextDrawHide(playerid, Class11[playerid]);
- PlayerTextDrawHide(playerid, Class12[playerid]);
- PlayerTextDrawHide(playerid, Class13[playerid]);
- PlayerTextDrawHide(playerid, Class14[playerid]);
- }
- }
- SetPlayerPos(playerid, 314.7225,-137.8821,999.6016);
- SetPlayerCameraPos(playerid, 311.2225, -137.8820, 1000.2015 );
- SetPlayerCameraLookAt(playerid, 321.2164, -137.8820, 999.8525 );
- SetPlayerFacingAngle(playerid, 90);
- SetPlayerInterior(playerid, 7);
- ApplyAnimation(playerid,"RAPPING","RAP_A_Loop",4.0,1,1,1,1,0);
- PlayerTextDrawHide(playerid, Login0[playerid]);
- PlayerTextDrawHide(playerid, Login1[playerid]);
- PlayerTextDrawHide(playerid, Login2[playerid]);
- PlayerTextDrawHide(playerid, Login3[playerid]);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement