if(strcmp(cmd, \"/bandaszolgálat\", true) == 0 || strcmp(cmd, \"/bandaszoli\", true) == 0){ if(PlayerInfo[playerid][szervTag] == 1 || PlayerInfo[playerid][szervLeader] == 1) { if(PlayerInfo[playerid][pSex] == 1) { if(PlayerInfo[playerid][szervRang] == 1) SetPlayerSkin(playerid, 48); if(PlayerInfo[playerid][szervRang] == 2) SetPlayerSkin(playerid, 30); if(PlayerInfo[playerid][szervRang] == 3) SetPlayerSkin(playerid, 108); if(PlayerInfo[playerid][szervRang] == 4) SetPlayerSkin(playerid, 109); if(PlayerInfo[playerid][szervRang] == 5) SetPlayerSkin(playerid, 110); if(PlayerInfo[playerid][szervRang] == 6) SetPlayerSkin(playerid, 292); } if(PlayerInfo[playerid][pSex] == 2) { if(PlayerInfo[playerid][szervRang] == 1) SetPlayerSkin(playerid, 169); if(PlayerInfo[playerid][szervRang] == 2) SetPlayerSkin(playerid, 169); if(PlayerInfo[playerid][szervRang] == 3) SetPlayerSkin(playerid, 169); if(PlayerInfo[playerid][szervRang] == 4) SetPlayerSkin(playerid, 169); if(PlayerInfo[playerid][szervRang] == 5) SetPlayerSkin(playerid, 169); if(PlayerInfo[playerid][szervRang] == 6) SetPlayerSkin(playerid, 169); } GivePlayerWeapon(playerid,4,1); GivePlayerWeapon(playerid,23,90); GivePlayerWeapon(playerid,29,90); SetPlayerHealth(playerid,100); SetPlayerArmour(playerid,20); SendClientMessage(playerid, COLOR_WHITE, \"/elõvesz a fegyverek elõvételéhez!\"); SendClientMessage(playerid, COLOR_WHITE, \"Bandaszolgálatba álltál!\"); SendClientMessage(playerid, COLOR_LIGHTRED, \"Csak 1*állj szolgálatba, mert ha nem Büntetés lesz a vége.!\");}else if(PlayerInfo[playerid][szervTag] == 2 || PlayerInfo[playerid][szervLeader] == 2){ if(PlayerInfo[playerid][pSex] == 1) { if(PlayerInfo[playerid][szervRang] == 1) SetPlayerSkin(playerid, 202); if(PlayerInfo[playerid][szervRang] == 2) SetPlayerSkin(playerid, 206); if(PlayerInfo[playerid][szervRang] == 3) SetPlayerSkin(playerid, 179); if(PlayerInfo[playerid][szervRang] == 4) SetPlayerSkin(playerid, 181); if(PlayerInfo[playerid][szervRang] == 5) SetPlayerSkin(playerid, 254); if(PlayerInfo[playerid][szervRang] == 6) SetPlayerSkin(playerid, 100); } if(PlayerInfo[playerid][pSex] == 2) { if(PlayerInfo[playerid][szervRang] == 1) SetPlayerSkin(playerid, 12); if(PlayerInfo[playerid][szervRang] == 2) SetPlayerSkin(playerid, 12); if(PlayerInfo[playerid][szervRang] == 3) SetPlayerSkin(playerid, 12); if(PlayerInfo[playerid][szervRang] == 4) SetPlayerSkin(playerid, 12); if(PlayerInfo[playerid][szervRang] == 5) SetPlayerSkin(playerid, 12); if(PlayerInfo[playerid][szervRang] == 6) SetPlayerSkin(playerid, 12); } GivePlayerWeapon(playerid,4,1); GivePlayerWeapon(playerid,23,90); GivePlayerWeapon(playerid,29,90); SetPlayerHealth(playerid,100); SetPlayerArmour(playerid,20); SendClientMessage(playerid, COLOR_WHITE, \"/elõvesz a fegyverek elõvételéhez!\"); SendClientMessage(playerid, COLOR_WHITE, \"Bandaszolgálatba álltál!\"); SendClientMessage(playerid, COLOR_LIGHTRED, \"Csak 1*állj szolgálatba, mert ha nem Büntetés lesz a vége.!\");}else if(PlayerInfo[playerid][szervTag] == 3 || PlayerInfo[playerid][szervLeader] == 3){ if(PlayerInfo[playerid][pSex] == 1) { if(PlayerInfo[playerid][szervRang] == 1) SetPlayerSkin(playerid, 29); if(PlayerInfo[playerid][szervRang] == 2) SetPlayerSkin(playerid, 241); if(PlayerInfo[playerid][szervRang] == 3) SetPlayerSkin(playerid, 242); if(PlayerInfo[playerid][szervRang] == 4) SetPlayerSkin(playerid, 100); if(PlayerInfo[playerid][szervRang] == 5) SetPlayerSkin(playerid, 247); if(PlayerInfo[playerid][szervRang] == 6) SetPlayerSkin(playerid, 248); } if(PlayerInfo[playerid][pSex] == 2) { if(PlayerInfo[playerid][szervRang] == 1) SetPlayerSkin(playerid, 246); if(PlayerInfo[playerid][szervRang] == 2) SetPlayerSkin(playerid, 246); if(PlayerInfo[playerid][szervRang] == 3) SetPlayerSkin(playerid, 246); if(PlayerInfo[playerid][szervRang] == 4) SetPlayerSkin(playerid, 246); if(PlayerInfo[playerid][szervRang] == 5) SetPlayerSkin(playerid, 246); if(PlayerInfo[playerid][szervRang] == 6) SetPlayerSkin(playerid, 246); } SendClientMessage(playerid, COLOR_WHITE, \"Bandaszolgálatba álltál!\"); SendClientMessage(playerid, COLOR_LIGHTRED, \"Csak 1*állj szolgálatba, mert ha nem Büntetés lesz a vége.!\"); SendClientMessage(playerid, COLOR_WHITE, \"/elõvesz a fegyverek elõvételéhez!\"); GivePlayerWeapon(playerid,4,1); GivePlayerWeapon(playerid,23,90); GivePlayerWeapon(playerid,29,90); SetPlayerHealth(playerid,100); SetPlayerArmour(playerid,20); SetPlayerArmour(playerid,25);} else if(PlayerInfo[playerid][szervTag] == 5 || PlayerInfo[playerid][szervLeader] == 5){ if(PlayerInfo[playerid][pSex] == 1) { if(PlayerInfo[playerid][szervRang] == 1) SetPlayerSkin(playerid, 111); if(PlayerInfo[playerid][szervRang] == 2) SetPlayerSkin(playerid, 112); if(PlayerInfo[playerid][szervRang] == 3) SetPlayerSkin(playerid, 124); if(PlayerInfo[playerid][szervRang] == 4) SetPlayerSkin(playerid, 125); if(PlayerInfo[playerid][szervRang] == 5) SetPlayerSkin(playerid, 294); if(PlayerInfo[playerid][szervRang] == 6) SetPlayerSkin(playerid, 126); } if(PlayerInfo[playerid][pSex] == 2) { if(PlayerInfo[playerid][szervRang] == 1) SetPlayerSkin(playerid, 93); if(PlayerInfo[playerid][szervRang] == 2) SetPlayerSkin(playerid, 93); if(PlayerInfo[playerid][szervRang] == 3) SetPlayerSkin(playerid, 93); if(PlayerInfo[playerid][szervRang] == 4) SetPlayerSkin(playerid, 93); if(PlayerInfo[playerid][szervRang] == 5) SetPlayerSkin(playerid, 93); if(PlayerInfo[playerid][szervRang] == 6) SetPlayerSkin(playerid, 93); } SendClientMessage(playerid, COLOR_WHITE, \"Bandaszolgálatba álltál!\"); SendClientMessage(playerid, COLOR_LIGHTRED, \"Csak 1*állj szolgálatba, mert ha nem Büntetés lesz a vége.!\"); SendClientMessage(playerid, COLOR_WHITE, \"/elõvesz a fegyverek elõvételéhez!\"); GivePlayerWeapon(playerid,4,1); GivePlayerWeapon(playerid,23,150); GivePlayerWeapon(playerid,29,150); SetPlayerHealth(playerid,100); SetPlayerArmour(playerid,40);}else SendClientMessage(playerid,COLOR_GRAD2, \"Nem vagy egy szervezet tagja sem!\");}return 1;}
if(strcmp(cmd, \"/bandaszolgálat\", true) == 0 || strcmp(cmd, \"/bandaszoli\", true) == 0){ if(IsPlayerInRangeOfPoint(playerid,40.0, X, Y, Z KORDINÁTA)) return SendClientMessage(playerid,COLOR_RED,\"Nem vagy a banda helyen!\"); if(PlayerInfo[playerid][szervTag] == 1 || PlayerInfo[playerid][szervLeader] == 1) { if(PlayerInfo[playerid][pSex] == 1) { if(PlayerInfo[playerid][szervRang] == 1) SetPlayerSkin(playerid, 48); if(PlayerInfo[playerid][szervRang] == 2) SetPlayerSkin(playerid, 30); if(PlayerInfo[playerid][szervRang] == 3) SetPlayerSkin(playerid, 108); if(PlayerInfo[playerid][szervRang] == 4) SetPlayerSkin(playerid, 109); if(PlayerInfo[playerid][szervRang] == 5) SetPlayerSkin(playerid, 110); if(PlayerInfo[playerid][szervRang] == 6) SetPlayerSkin(playerid, 292); } if(PlayerInfo[playerid][pSex] == 2) { if(PlayerInfo[playerid][szervRang] == 1) SetPlayerSkin(playerid, 169); if(PlayerInfo[playerid][szervRang] == 2) SetPlayerSkin(playerid, 169); if(PlayerInfo[playerid][szervRang] == 3) SetPlayerSkin(playerid, 169); if(PlayerInfo[playerid][szervRang] == 4) SetPlayerSkin(playerid, 169); if(PlayerInfo[playerid][szervRang] == 5) SetPlayerSkin(playerid, 169); if(PlayerInfo[playerid][szervRang] == 6) SetPlayerSkin(playerid, 169); } GivePlayerWeapon(playerid,4,1); GivePlayerWeapon(playerid,23,90); GivePlayerWeapon(playerid,29,90); SetPlayerHealth(playerid,100); SetPlayerArmour(playerid,20); SendClientMessage(playerid, COLOR_WHITE, \"/elõvesz a fegyverek elõvételéhez!\"); SendClientMessage(playerid, COLOR_WHITE, \"Bandaszolgálatba álltál!\"); SendClientMessage(playerid, COLOR_LIGHTRED, \"Csak 1*állj szolgálatba, mert ha nem Büntetés lesz a vége.!\");}else if(PlayerInfo[playerid][szervTag] == 2 || PlayerInfo[playerid][szervLeader] == 2){ if(PlayerInfo[playerid][pSex] == 1) { if(PlayerInfo[playerid][szervRang] == 1) SetPlayerSkin(playerid, 202); if(PlayerInfo[playerid][szervRang] == 2) SetPlayerSkin(playerid, 206); if(PlayerInfo[playerid][szervRang] == 3) SetPlayerSkin(playerid, 179); if(PlayerInfo[playerid][szervRang] == 4) SetPlayerSkin(playerid, 181); if(PlayerInfo[playerid][szervRang] == 5) SetPlayerSkin(playerid, 254); if(PlayerInfo[playerid][szervRang] == 6) SetPlayerSkin(playerid, 100); } if(PlayerInfo[playerid][pSex] == 2) { if(PlayerInfo[playerid][szervRang] == 1) SetPlayerSkin(playerid, 12); if(PlayerInfo[playerid][szervRang] == 2) SetPlayerSkin(playerid, 12); if(PlayerInfo[playerid][szervRang] == 3) SetPlayerSkin(playerid, 12); if(PlayerInfo[playerid][szervRang] == 4) SetPlayerSkin(playerid, 12); if(PlayerInfo[playerid][szervRang] == 5) SetPlayerSkin(playerid, 12); if(PlayerInfo[playerid][szervRang] == 6) SetPlayerSkin(playerid, 12); } GivePlayerWeapon(playerid,4,1); GivePlayerWeapon(playerid,23,90); GivePlayerWeapon(playerid,29,90); SetPlayerHealth(playerid,100); SetPlayerArmour(playerid,20); SendClientMessage(playerid, COLOR_WHITE, \"/elõvesz a fegyverek elõvételéhez!\"); SendClientMessage(playerid, COLOR_WHITE, \"Bandaszolgálatba álltál!\"); SendClientMessage(playerid, COLOR_LIGHTRED, \"Csak 1*állj szolgálatba, mert ha nem Büntetés lesz a vége.!\");}else if(PlayerInfo[playerid][szervTag] == 3 || PlayerInfo[playerid][szervLeader] == 3){ if(PlayerInfo[playerid][pSex] == 1) { if(PlayerInfo[playerid][szervRang] == 1) SetPlayerSkin(playerid, 29); if(PlayerInfo[playerid][szervRang] == 2) SetPlayerSkin(playerid, 241); if(PlayerInfo[playerid][szervRang] == 3) SetPlayerSkin(playerid, 242); if(PlayerInfo[playerid][szervRang] == 4) SetPlayerSkin(playerid, 100); if(PlayerInfo[playerid][szervRang] == 5) SetPlayerSkin(playerid, 247); if(PlayerInfo[playerid][szervRang] == 6) SetPlayerSkin(playerid, 248); } if(PlayerInfo[playerid][pSex] == 2) { if(PlayerInfo[playerid][szervRang] == 1) SetPlayerSkin(playerid, 246); if(PlayerInfo[playerid][szervRang] == 2) SetPlayerSkin(playerid, 246); if(PlayerInfo[playerid][szervRang] == 3) SetPlayerSkin(playerid, 246); if(PlayerInfo[playerid][szervRang] == 4) SetPlayerSkin(playerid, 246); if(PlayerInfo[playerid][szervRang] == 5) SetPlayerSkin(playerid, 246); if(PlayerInfo[playerid][szervRang] == 6) SetPlayerSkin(playerid, 246); } SendClientMessage(playerid, COLOR_WHITE, \"Bandaszolgálatba álltál!\"); SendClientMessage(playerid, COLOR_LIGHTRED, \"Csak 1*állj szolgálatba, mert ha nem Büntetés lesz a vége.!\"); SendClientMessage(playerid, COLOR_WHITE, \"/elõvesz a fegyverek elõvételéhez!\"); GivePlayerWeapon(playerid,4,1); GivePlayerWeapon(playerid,23,90); GivePlayerWeapon(playerid,29,90); SetPlayerHealth(playerid,100); SetPlayerArmour(playerid,20); SetPlayerArmour(playerid,25);} else if(PlayerInfo[playerid][szervTag] == 5 || PlayerInfo[playerid][szervLeader] == 5){ if(PlayerInfo[playerid][pSex] == 1) { if(PlayerInfo[playerid][szervRang] == 1) SetPlayerSkin(playerid, 111); if(PlayerInfo[playerid][szervRang] == 2) SetPlayerSkin(playerid, 112); if(PlayerInfo[playerid][szervRang] == 3) SetPlayerSkin(playerid, 124); if(PlayerInfo[playerid][szervRang] == 4) SetPlayerSkin(playerid, 125); if(PlayerInfo[playerid][szervRang] == 5) SetPlayerSkin(playerid, 294); if(PlayerInfo[playerid][szervRang] == 6) SetPlayerSkin(playerid, 126); } if(PlayerInfo[playerid][pSex] == 2) { if(PlayerInfo[playerid][szervRang] == 1) SetPlayerSkin(playerid, 93); if(PlayerInfo[playerid][szervRang] == 2) SetPlayerSkin(playerid, 93); if(PlayerInfo[playerid][szervRang] == 3) SetPlayerSkin(playerid, 93); if(PlayerInfo[playerid][szervRang] == 4) SetPlayerSkin(playerid, 93); if(PlayerInfo[playerid][szervRang] == 5) SetPlayerSkin(playerid, 93); if(PlayerInfo[playerid][szervRang] == 6) SetPlayerSkin(playerid, 93); } SendClientMessage(playerid, COLOR_WHITE, \"Bandaszolgálatba álltál!\"); SendClientMessage(playerid, COLOR_LIGHTRED, \"Csak 1*állj szolgálatba, mert ha nem Büntetés lesz a vége.!\"); SendClientMessage(playerid, COLOR_WHITE, \"/elõvesz a fegyverek elõvételéhez!\"); GivePlayerWeapon(playerid,4,1); GivePlayerWeapon(playerid,23,150); GivePlayerWeapon(playerid,29,150); SetPlayerHealth(playerid,100); SetPlayerArmour(playerid,40);}else SendClientMessage(playerid,COLOR_GRAD2, \"Nem vagy egy szervezet tagja sem!\");}return 1;}
if(IsPlayerInRangeOfPoint(playerid,40.0, X, Y, Z KORDINÁTA)) return SendClientMessage(playerid,COLOR_RED,\"Nem vagy a banda helyen!\");
if(IsPlayerInRangeOfPoint(playerid,40.0, 961.4197,-53.0050,1001.1172)) return SendClientMessage(playerid,COLOR_RED,\"Nem vagy a banda helyen!\");
if(!IsPlayerInRangeOfPoint(playerid,40.0, 961.4197,-53.0050,1001.1172)) return SendClientMessage(playerid,COLOR_RED,\"Nem vagy a banda helyen!\");