Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(newkeys & 4) // LMB
- {
- if(GetPVarInt(playerid, "PlayerShoping") == 1)
- {
- if(GetPVarInt(playerid, "BrowsingSuits") == 1)
- {
- if(BrowsingItem[playerid] == 1) { SetPlayerSkin(playerid, 227); BrowsingItem[playerid] = 2; SetPVarInt(playerid, "CurrentSkin", 227); }
- else if(BrowsingItem[playerid] == 2) { SetPlayerSkin(playerid, 240); BrowsingItem[playerid] = 3; SetPVarInt(playerid, "CurrentSkin", 240); }
- else if(BrowsingItem[playerid] == 3) { SetPlayerSkin(playerid, 153); BrowsingItem[playerid] = 4; SetPVarInt(playerid, "CurrentSkin", 153); }
- else if(BrowsingItem[playerid] == 4) { SetPlayerSkin(playerid, 171); BrowsingItem[playerid] = 5; SetPVarInt(playerid, "CurrentSkin", 171); }
- else if(BrowsingItem[playerid] == 5) { SetPlayerSkin(playerid, 187); BrowsingItem[playerid] = 6; SetPVarInt(playerid, "CurrentSkin", 187); }
- else if(BrowsingItem[playerid] == 6) { SetPlayerSkin(playerid, 249); BrowsingItem[playerid] = 7; SetPVarInt(playerid, "CurrentSkin", 249); }
- else if(BrowsingItem[playerid] == 7) { SetPlayerSkin(playerid, 255); BrowsingItem[playerid] = 8; SetPVarInt(playerid, "CurrentSkin", 255); }
- else if(BrowsingItem[playerid] == 8) { SetPlayerSkin(playerid, 295); BrowsingItem[playerid] = 9; SetPVarInt(playerid, "CurrentSkin", 295); }
- else if(BrowsingItem[playerid] == 9) { SetPlayerSkin(playerid, 117); BrowsingItem[playerid] = 10; SetPVarInt(playerid, "CurrentSkin", 117); }
- else if(BrowsingItem[playerid] == 10) { SetPlayerSkin(playerid, 113); BrowsingItem[playerid] = 11; SetPVarInt(playerid, "CurrentSkin", 113); }
- else if(BrowsingItem[playerid] == 11) { SetPlayerSkin(playerid, 70); BrowsingItem[playerid] = 12; SetPVarInt(playerid, "CurrentSkin", 70); }
- else if(BrowsingItem[playerid] == 12) { SetPlayerSkin(playerid, 57); BrowsingItem[playerid] = 13; SetPVarInt(playerid, "CurrentSkin", 57); }
- else if(BrowsingItem[playerid] == 13) { SetPlayerSkin(playerid, 186); BrowsingItem[playerid] = 14; SetPVarInt(playerid, "CurrentSkin", 186); }
- else if(BrowsingItem[playerid] == 14) { SetPlayerSkin(playerid, 234); BrowsingItem[playerid] = 15; SetPVarInt(playerid, "CurrentSkin", 234); }
- else if(BrowsingItem[playerid] == 15) { SetPlayerSkin(playerid, 228); BrowsingItem[playerid] = 1; SetPVarInt(playerid, "CurrentSkin", 228); }
- }
- else if(GetPVarInt(playerid, "BrowsingSports") == 1)
- {
- if(BrowsingItem[playerid] == 1) { SetPlayerSkin(playerid, 52); BrowsingItem[playerid] = 2; SetPVarInt(playerid, "CurrentSkin", 52); }
- else if(BrowsingItem[playerid] == 2) { SetPlayerSkin(playerid, 99); BrowsingItem[playerid] = 3; SetPVarInt(playerid, "CurrentSkin", 99); }
- else if(BrowsingItem[playerid] == 3) { SetPlayerSkin(playerid, 26); BrowsingItem[playerid] = 4; SetPVarInt(playerid, "CurrentSkin", 26); }
- else if(BrowsingItem[playerid] == 4) { SetPlayerSkin(playerid, 96); BrowsingItem[playerid] = 5; SetPVarInt(playerid, "CurrentSkin", 96); }
- else if(BrowsingItem[playerid] == 5) { SetPlayerSkin(playerid, 51); BrowsingItem[playerid] = 6; SetPVarInt(playerid, "CurrentSkin", 51); }
- else if(BrowsingItem[playerid] == 6) { SetPlayerSkin(playerid, 259); BrowsingItem[playerid] = 7; SetPVarInt(playerid, "CurrentSkin", 259); }
- else if(BrowsingItem[playerid] == 7) { SetPlayerSkin(playerid, 80); BrowsingItem[playerid] = 8; SetPVarInt(playerid, "CurrentSkin", 80); }
- else if(BrowsingItem[playerid] == 8) { SetPlayerSkin(playerid, 81); BrowsingItem[playerid] = 9; SetPVarInt(playerid, "CurrentSkin", 81); }
- else if(BrowsingItem[playerid] == 9) { SetPlayerSkin(playerid, 23); BrowsingItem[playerid] = 1; SetPVarInt(playerid, "CurrentSkin", 23); }
- }
- else if(GetPVarInt(playerid, "BrowsingUnderwear") == 1)
- {
- if(BrowsingItem[playerid] == 1) { SetPlayerSkin(playerid, 146); BrowsingItem[playerid] = 2; SetPVarInt(playerid, "CurrentSkin", 146); }
- else if(BrowsingItem[playerid] == 2) { SetPlayerSkin(playerid, 154); BrowsingItem[playerid] = 3; SetPVarInt(playerid, "CurrentSkin", 154); }
- else if(BrowsingItem[playerid] == 3) { SetPlayerSkin(playerid, 45); BrowsingItem[playerid] = 4; SetPVarInt(playerid, "CurrentSkin", 45); }
- else if(BrowsingItem[playerid] == 4) { SetPlayerSkin(playerid, 18); BrowsingItem[playerid] = 5; SetPVarInt(playerid, "CurrentSkin", 18); }
- else if(BrowsingItem[playerid] == 5) { SetPlayerSkin(playerid, 252); BrowsingItem[playerid] = 6; SetPVarInt(playerid, "CurrentSkin", 252); }
- else if(BrowsingItem[playerid] == 6) { SetPlayerSkin(playerid, 97); BrowsingItem[playerid] = 1; SetPVarInt(playerid, "CurrentSkin", 97); }
- }
- else if(GetPVarInt(playerid, "BrowsingRegular") == 1)
- {
- if(BrowsingItem[playerid] == 1) { SetPlayerSkin(playerid, 14); BrowsingItem[playerid] = 2; SetPVarInt(playerid, "CurrentSkin", 14); }
- else if(BrowsingItem[playerid] == 2) { SetPlayerSkin(playerid, 142); BrowsingItem[playerid] = 3; SetPVarInt(playerid, "CurrentSkin", 142); }
- else if(BrowsingItem[playerid] == 3) { SetPlayerSkin(playerid, 143); BrowsingItem[playerid] = 4; SetPVarInt(playerid, "CurrentSkin", 143); }
- else if(BrowsingItem[playerid] == 4) { SetPlayerSkin(playerid, 144); BrowsingItem[playerid] = 5; SetPVarInt(playerid, "CurrentSkin", 144); }
- else if(BrowsingItem[playerid] == 5) { SetPlayerSkin(playerid, 15); BrowsingItem[playerid] = 6; SetPVarInt(playerid, "CurrentSkin", 15); }
- else if(BrowsingItem[playerid] == 6) { SetPlayerSkin(playerid, 156); BrowsingItem[playerid] = 7; SetPVarInt(playerid, "CurrentSkin", 156); }
- else if(BrowsingItem[playerid] == 7) { SetPlayerSkin(playerid, 170); BrowsingItem[playerid] = 8; SetPVarInt(playerid, "CurrentSkin", 170); }
- else if(BrowsingItem[playerid] == 8) { SetPlayerSkin(playerid, 180); BrowsingItem[playerid] = 9; SetPVarInt(playerid, "CurrentSkin", 180); }
- else if(BrowsingItem[playerid] == 9) { SetPlayerSkin(playerid, 182); BrowsingItem[playerid] = 10; SetPVarInt(playerid, "CurrentSkin", 182); }
- else if(BrowsingItem[playerid] == 10) { SetPlayerSkin(playerid, 183); BrowsingItem[playerid] = 11; SetPVarInt(playerid, "CurrentSkin", 183); }
- else if(BrowsingItem[playerid] == 11) { SetPlayerSkin(playerid, 184); BrowsingItem[playerid] = 12; SetPVarInt(playerid, "CurrentSkin", 184); }
- else if(BrowsingItem[playerid] == 12) { SetPlayerSkin(playerid, 188); BrowsingItem[playerid] = 13; SetPVarInt(playerid, "CurrentSkin", 188); }
- else if(BrowsingItem[playerid] == 13) { SetPlayerSkin(playerid, 108); BrowsingItem[playerid] = 14; SetPVarInt(playerid, "CurrentSkin", 108); }
- else if(BrowsingItem[playerid] == 14) { SetPlayerSkin(playerid, 20); BrowsingItem[playerid] = 15; SetPVarInt(playerid, "CurrentSkin", 20); }
- else if(BrowsingItem[playerid] == 15) { SetPlayerSkin(playerid, 206); BrowsingItem[playerid] = 16; SetPVarInt(playerid, "CurrentSkin", 206); }
- else if(BrowsingItem[playerid] == 16) { SetPlayerSkin(playerid, 21); BrowsingItem[playerid] = 17; SetPVarInt(playerid, "CurrentSkin", 21); }
- else if(BrowsingItem[playerid] == 17) { SetPlayerSkin(playerid, 22); BrowsingItem[playerid] = 18; SetPVarInt(playerid, "CurrentSkin", 22); }
- else if(BrowsingItem[playerid] == 18) { SetPlayerSkin(playerid, 210); BrowsingItem[playerid] = 19; SetPVarInt(playerid, "CurrentSkin", 210); }
- else if(BrowsingItem[playerid] == 19) { SetPlayerSkin(playerid, 221); BrowsingItem[playerid] = 20; SetPVarInt(playerid, "CurrentSkin", 221); }
- else if(BrowsingItem[playerid] == 20) { SetPlayerSkin(playerid, 223); BrowsingItem[playerid] = 21; SetPVarInt(playerid, "CurrentSkin", 223); }
- else if(BrowsingItem[playerid] == 21) { SetPlayerSkin(playerid, 24); BrowsingItem[playerid] = 22; SetPVarInt(playerid, "CurrentSkin", 24); }
- else if(BrowsingItem[playerid] == 22) { SetPlayerSkin(playerid, 25); BrowsingItem[playerid] = 23; SetPVarInt(playerid, "CurrentSkin", 25); }
- else if(BrowsingItem[playerid] == 23) { SetPlayerSkin(playerid, 250); BrowsingItem[playerid] = 24; SetPVarInt(playerid, "CurrentSkin", 250); }
- else if(BrowsingItem[playerid] == 24) { SetPlayerSkin(playerid, 261); BrowsingItem[playerid] = 25; SetPVarInt(playerid, "CurrentSkin", 261); }
- else if(BrowsingItem[playerid] == 25) { SetPlayerSkin(playerid, 28); BrowsingItem[playerid] = 26; SetPVarInt(playerid, "CurrentSkin", 28); }
- else if(BrowsingItem[playerid] == 26) { SetPlayerSkin(playerid, 35); BrowsingItem[playerid] = 27; SetPVarInt(playerid, "CurrentSkin", 35); }
- else if(BrowsingItem[playerid] == 27) { SetPlayerSkin(playerid, 37); BrowsingItem[playerid] = 28; SetPVarInt(playerid, "CurrentSkin", 37); }
- else if(BrowsingItem[playerid] == 28) { SetPlayerSkin(playerid, 179); BrowsingItem[playerid] = 29; SetPVarInt(playerid, "CurrentSkin", 179); }
- else if(BrowsingItem[playerid] == 29) { SetPlayerSkin(playerid, 36); BrowsingItem[playerid] = 30; SetPVarInt(playerid, "CurrentSkin", 36); }
- else if(BrowsingItem[playerid] == 30) { SetPlayerSkin(playerid, 44); BrowsingItem[playerid] = 31; SetPVarInt(playerid, "CurrentSkin", 44); }
- else if(BrowsingItem[playerid] == 31) { SetPlayerSkin(playerid, 46); BrowsingItem[playerid] = 32; SetPVarInt(playerid, "CurrentSkin", 46); }
- else if(BrowsingItem[playerid] == 32) { SetPlayerSkin(playerid, 262); BrowsingItem[playerid] = 33; SetPVarInt(playerid, "CurrentSkin", 262); }
- else if(BrowsingItem[playerid] == 33) { SetPlayerSkin(playerid, 229); BrowsingItem[playerid] = 34; SetPVarInt(playerid, "CurrentSkin", 229); }
- else if(BrowsingItem[playerid] == 34) { SetPlayerSkin(playerid, 60); BrowsingItem[playerid] = 35; SetPVarInt(playerid, "CurrentSkin", 60); }
- else if(BrowsingItem[playerid] == 35) { SetPlayerSkin(playerid, 109); BrowsingItem[playerid] = 36; SetPVarInt(playerid, "CurrentSkin", 109); }
- else if(BrowsingItem[playerid] == 36) { SetPlayerSkin(playerid, 7); BrowsingItem[playerid] = 37; SetPVarInt(playerid, "CurrentSkin", 7); }
- else if(BrowsingItem[playerid] == 37) { SetPlayerSkin(playerid, 72); BrowsingItem[playerid] = 38; SetPVarInt(playerid, "CurrentSkin", 72); }
- else if(BrowsingItem[playerid] == 38) { SetPlayerSkin(playerid, 94); BrowsingItem[playerid] = 39; SetPVarInt(playerid, "CurrentSkin", 94); }
- else if(BrowsingItem[playerid] == 39) { SetPlayerSkin(playerid, 95); BrowsingItem[playerid] = 40; SetPVarInt(playerid, "CurrentSkin", 95); }
- else if(BrowsingItem[playerid] == 40) { SetPlayerSkin(playerid, 101); BrowsingItem[playerid] = 1; SetPVarInt(playerid, "CurrentSkin", 101); }
- }
- else if(GetPVarInt(playerid, "BrowsingOthers") == 1)
- {
- if(BrowsingItem[playerid] == 1) { SetPlayerSkin(playerid, 83); BrowsingItem[playerid] = 2; SetPVarInt(playerid, "CurrentSkin", 83); }
- else if(BrowsingItem[playerid] == 2) { SetPlayerSkin(playerid, 82); BrowsingItem[playerid] = 3; SetPVarInt(playerid, "CurrentSkin", 82); }
- else if(BrowsingItem[playerid] == 3) { SetPlayerSkin(playerid, 79); BrowsingItem[playerid] = 4; SetPVarInt(playerid, "CurrentSkin", 79); }
- else if(BrowsingItem[playerid] == 4) { SetPlayerSkin(playerid, 78); BrowsingItem[playerid] = 5; SetPVarInt(playerid, "CurrentSkin", 78); }
- else if(BrowsingItem[playerid] == 5) { SetPlayerSkin(playerid, 73); BrowsingItem[playerid] = 6; SetPVarInt(playerid, "CurrentSkin", 73); }
- else if(BrowsingItem[playerid] == 6) { SetPlayerSkin(playerid, 66); BrowsingItem[playerid] = 7; SetPVarInt(playerid, "CurrentSkin", 66); }
- else if(BrowsingItem[playerid] == 7) { SetPlayerSkin(playerid, 62); BrowsingItem[playerid] = 8; SetPVarInt(playerid, "CurrentSkin", 62); }
- else if(BrowsingItem[playerid] == 8) { SetPlayerSkin(playerid, 50); BrowsingItem[playerid] = 9; SetPVarInt(playerid, "CurrentSkin", 50); }
- else if(BrowsingItem[playerid] == 9) { SetPlayerSkin(playerid, 49); BrowsingItem[playerid] = 10; SetPVarInt(playerid, "CurrentSkin", 49); }
- else if(BrowsingItem[playerid] == 10) { SetPlayerSkin(playerid, 29); BrowsingItem[playerid] = 11; SetPVarInt(playerid, "CurrentSkin", 29); }
- else if(BrowsingItem[playerid] == 11) { SetPlayerSkin(playerid, 242); BrowsingItem[playerid] = 12; SetPVarInt(playerid, "CurrentSkin", 242); }
- else if(BrowsingItem[playerid] == 12) { SetPlayerSkin(playerid, 241); BrowsingItem[playerid] = 13; SetPVarInt(playerid, "CurrentSkin", 241); }
- else if(BrowsingItem[playerid] == 13) { SetPlayerSkin(playerid, 239); BrowsingItem[playerid] = 14; SetPVarInt(playerid, "CurrentSkin", 239); }
- else if(BrowsingItem[playerid] == 14) { SetPlayerSkin(playerid, 230); BrowsingItem[playerid] = 15; SetPVarInt(playerid, "CurrentSkin", 230); }
- else if(BrowsingItem[playerid] == 15) { SetPlayerSkin(playerid, 224); BrowsingItem[playerid] = 16; SetPVarInt(playerid, "CurrentSkin", 224); }
- else if(BrowsingItem[playerid] == 16) { SetPlayerSkin(playerid, 212); BrowsingItem[playerid] = 17; SetPVarInt(playerid, "CurrentSkin", 212); }
- else if(BrowsingItem[playerid] == 17) { SetPlayerSkin(playerid, 213); BrowsingItem[playerid] = 18; SetPVarInt(playerid, "CurrentSkin", 213); }
- else if(BrowsingItem[playerid] == 18) { SetPlayerSkin(playerid, 181); BrowsingItem[playerid] = 19; SetPVarInt(playerid, "CurrentSkin", 181); }
- else if(BrowsingItem[playerid] == 19) { SetPlayerSkin(playerid, 137); BrowsingItem[playerid] = 20; SetPVarInt(playerid, "CurrentSkin", 137); }
- else if(BrowsingItem[playerid] == 20) { SetPlayerSkin(playerid, 135); BrowsingItem[playerid] = 21; SetPVarInt(playerid, "CurrentSkin", 135); }
- else if(BrowsingItem[playerid] == 21) { SetPlayerSkin(playerid, 134); BrowsingItem[playerid] = 22; SetPVarInt(playerid, "CurrentSkin", 134); }
- else if(BrowsingItem[playerid] == 22) { SetPlayerSkin(playerid, 167); BrowsingItem[playerid] = 23; SetPVarInt(playerid, "CurrentSkin", 167); }
- else if(BrowsingItem[playerid] == 23) { SetPlayerSkin(playerid, 155); BrowsingItem[playerid] = 24; SetPVarInt(playerid, "CurrentSkin", 155); }
- else if(BrowsingItem[playerid] == 24) { SetPlayerSkin(playerid, 128); BrowsingItem[playerid] = 25; SetPVarInt(playerid, "CurrentSkin", 128); }
- else if(BrowsingItem[playerid] == 25) { SetPlayerSkin(playerid, 209); BrowsingItem[playerid] = 26; SetPVarInt(playerid, "CurrentSkin", 209); }
- else if(BrowsingItem[playerid] == 26) { SetPlayerSkin(playerid, 264); BrowsingItem[playerid] = 27; SetPVarInt(playerid, "CurrentSkin", 264); }
- else if(BrowsingItem[playerid] == 27) { SetPlayerSkin(playerid, 16); BrowsingItem[playerid] = 28; SetPVarInt(playerid, "CurrentSkin", 16); }
- else if(BrowsingItem[playerid] == 28) { SetPlayerSkin(playerid, 260); BrowsingItem[playerid] = 29; SetPVarInt(playerid, "CurrentSkin", 260); }
- else if(BrowsingItem[playerid] == 29) { SetPlayerSkin(playerid, 204); BrowsingItem[playerid] = 30; SetPVarInt(playerid, "CurrentSkin", 204); }
- else if(BrowsingItem[playerid] == 30) { SetPlayerSkin(playerid, 203); BrowsingItem[playerid] = 31; SetPVarInt(playerid, "CurrentSkin", 203); }
- else if(BrowsingItem[playerid] == 31) { SetPlayerSkin(playerid, 189); BrowsingItem[playerid] = 32; SetPVarInt(playerid, "CurrentSkin", 189); }
- else if(BrowsingItem[playerid] == 32) { SetPlayerSkin(playerid, 84); BrowsingItem[playerid] = 33; SetPVarInt(playerid, "CurrentSkin", 84); }
- else if(BrowsingItem[playerid] == 33) { SetPlayerSkin(playerid, 30); BrowsingItem[playerid] = 34; SetPVarInt(playerid, "CurrentSkin", 30); }
- else if(BrowsingItem[playerid] == 34) { SetPlayerSkin(playerid, 110); BrowsingItem[playerid] = 35; SetPVarInt(playerid, "CurrentSkin", 110); }
- else if(BrowsingItem[playerid] == 35) { SetPlayerSkin(playerid, 61); BrowsingItem[playerid] = 36; SetPVarInt(playerid, "CurrentSkin", 61); }
- else if(BrowsingItem[playerid] == 36) { SetPlayerSkin(playerid, 1); BrowsingItem[playerid] = 37; SetPVarInt(playerid, "CurrentSkin", 1); }
- else if(BrowsingItem[playerid] == 37) { SetPlayerSkin(playerid, 2); BrowsingItem[playerid] = 38; SetPVarInt(playerid, "CurrentSkin", 2); }
- else if(BrowsingItem[playerid] == 38) { SetPlayerSkin(playerid, 17); BrowsingItem[playerid] = 39; SetPVarInt(playerid, "CurrentSkin", 17); }
- else if(BrowsingItem[playerid] == 39) { SetPlayerSkin(playerid, 27); BrowsingItem[playerid] = 40; SetPVarInt(playerid, "CurrentSkin", 27); }
- else if(BrowsingItem[playerid] == 40) { SetPlayerSkin(playerid, 32); BrowsingItem[playerid] = 41; SetPVarInt(playerid, "CurrentSkin", 32); }
- else if(BrowsingItem[playerid] == 41) { SetPlayerSkin(playerid, 33); BrowsingItem[playerid] = 42; SetPVarInt(playerid, "CurrentSkin", 33); }
- else if(BrowsingItem[playerid] == 42) { SetPlayerSkin(playerid, 34); BrowsingItem[playerid] = 43; SetPVarInt(playerid, "CurrentSkin", 34); }
- else if(BrowsingItem[playerid] == 43) { SetPlayerSkin(playerid, 43); BrowsingItem[playerid] = 44; SetPVarInt(playerid, "CurrentSkin", 43); }
- else if(BrowsingItem[playerid] == 44) { SetPlayerSkin(playerid, 47); BrowsingItem[playerid] = 45; SetPVarInt(playerid, "CurrentSkin", 47); }
- else if(BrowsingItem[playerid] == 45) { SetPlayerSkin(playerid, 48); BrowsingItem[playerid] = 46; SetPVarInt(playerid, "CurrentSkin", 48); }
- else if(BrowsingItem[playerid] == 46) { SetPlayerSkin(playerid, 58); BrowsingItem[playerid] = 47; SetPVarInt(playerid, "CurrentSkin", 58); }
- else if(BrowsingItem[playerid] == 47) { SetPlayerSkin(playerid, 68); BrowsingItem[playerid] = 48; SetPVarInt(playerid, "CurrentSkin", 68); }
- else if(BrowsingItem[playerid] == 48) { SetPlayerSkin(playerid, 100); BrowsingItem[playerid] = 49; SetPVarInt(playerid, "CurrentSkin", 100); }
- else if(BrowsingItem[playerid] == 49) { SetPlayerSkin(playerid, 120); BrowsingItem[playerid] = 50; SetPVarInt(playerid, "CurrentSkin", 120); }
- else if(BrowsingItem[playerid] == 50) { SetPlayerSkin(playerid, 121); BrowsingItem[playerid] = 51; SetPVarInt(playerid, "CurrentSkin", 121); }
- else if(BrowsingItem[playerid] == 51) { SetPlayerSkin(playerid, 122); BrowsingItem[playerid] = 52; SetPVarInt(playerid, "CurrentSkin", 122); }
- else if(BrowsingItem[playerid] == 52) { SetPlayerSkin(playerid, 133); BrowsingItem[playerid] = 53; SetPVarInt(playerid, "CurrentSkin", 133); }
- else if(BrowsingItem[playerid] == 53) { SetPlayerSkin(playerid, 159); BrowsingItem[playerid] = 54; SetPVarInt(playerid, "CurrentSkin", 159); }
- else if(BrowsingItem[playerid] == 54) { SetPlayerSkin(playerid, 162); BrowsingItem[playerid] = 55; SetPVarInt(playerid, "CurrentSkin", 162); }
- else if(BrowsingItem[playerid] == 55) { SetPlayerSkin(playerid, 176); BrowsingItem[playerid] = 56; SetPVarInt(playerid, "CurrentSkin", 176); }
- else if(BrowsingItem[playerid] == 56) { SetPlayerSkin(playerid, 177); BrowsingItem[playerid] = 57; SetPVarInt(playerid, "CurrentSkin", 177); }
- else if(BrowsingItem[playerid] == 57) { SetPlayerSkin(playerid, 202); BrowsingItem[playerid] = 58; SetPVarInt(playerid, "CurrentSkin", 202); }
- else if(BrowsingItem[playerid] == 58) { SetPlayerSkin(playerid, 217); BrowsingItem[playerid] = 59; SetPVarInt(playerid, "CurrentSkin", 217); }
- else if(BrowsingItem[playerid] == 59) { SetPlayerSkin(playerid, 222); BrowsingItem[playerid] = 60; SetPVarInt(playerid, "CurrentSkin", 222); }
- else if(BrowsingItem[playerid] == 60) { SetPlayerSkin(playerid, 236); BrowsingItem[playerid] = 61; SetPVarInt(playerid, "CurrentSkin", 236); }
- else if(BrowsingItem[playerid] == 61) { SetPlayerSkin(playerid, 247); BrowsingItem[playerid] = 62; SetPVarInt(playerid, "CurrentSkin", 247); }
- else if(BrowsingItem[playerid] == 62) { SetPlayerSkin(playerid, 248); BrowsingItem[playerid] = 63; SetPVarInt(playerid, "CurrentSkin", 248); }
- else if(BrowsingItem[playerid] == 63) { SetPlayerSkin(playerid, 254); BrowsingItem[playerid] = 64; SetPVarInt(playerid, "CurrentSkin", 254); }
- else if(BrowsingItem[playerid] == 64) { SetPlayerSkin(playerid, 290); BrowsingItem[playerid] = 65; SetPVarInt(playerid, "CurrentSkin", 290); }
- else if(BrowsingItem[playerid] == 65) { SetPlayerSkin(playerid, 291); BrowsingItem[playerid] = 66; SetPVarInt(playerid, "CurrentSkin", 291); }
- else if(BrowsingItem[playerid] == 66) { SetPlayerSkin(playerid, 293); BrowsingItem[playerid] = 67; SetPVarInt(playerid, "CurrentSkin", 293); }
- else if(BrowsingItem[playerid] == 67) { SetPlayerSkin(playerid, 296); BrowsingItem[playerid] = 68; SetPVarInt(playerid, "CurrentSkin", 296); }
- else if(BrowsingItem[playerid] == 68) { SetPlayerSkin(playerid, 297); BrowsingItem[playerid] = 69; SetPVarInt(playerid, "CurrentSkin", 297); }
- else if(BrowsingItem[playerid] == 69) { SetPlayerSkin(playerid, 123); BrowsingItem[playerid] = 70; SetPVarInt(playerid, "CurrentSkin", 123); }
- else if(BrowsingItem[playerid] == 70) { SetPlayerSkin(playerid, 3); BrowsingItem[playerid] = 71; SetPVarInt(playerid, "CurrentSkin", 3); }
- else if(BrowsingItem[playerid] == 71) { SetPlayerSkin(playerid, 4); BrowsingItem[playerid] = 72; SetPVarInt(playerid, "CurrentSkin", 4); }
- else if(BrowsingItem[playerid] == 72) { SetPlayerSkin(playerid, 5); BrowsingItem[playerid] = 73; SetPVarInt(playerid, "CurrentSkin", 5); }
- else if(BrowsingItem[playerid] == 73) { SetPlayerSkin(playerid, 6); BrowsingItem[playerid] = 74; SetPVarInt(playerid, "CurrentSkin", 6); }
- else if(BrowsingItem[playerid] == 74) { SetPlayerSkin(playerid, 8); BrowsingItem[playerid] = 75; SetPVarInt(playerid, "CurrentSkin", 8); }
- else if(BrowsingItem[playerid] == 75) { SetPlayerSkin(playerid, 42); BrowsingItem[playerid] = 76; SetPVarInt(playerid, "CurrentSkin", 42); }
- else if(BrowsingItem[playerid] == 76) { SetPlayerSkin(playerid, 65); BrowsingItem[playerid] = 77; SetPVarInt(playerid, "CurrentSkin", 65); }
- else if(BrowsingItem[playerid] == 77) { SetPlayerSkin(playerid, 86); BrowsingItem[playerid] = 78; SetPVarInt(playerid, "CurrentSkin", 86); }
- else if(BrowsingItem[playerid] == 78) { SetPlayerSkin(playerid, 119); BrowsingItem[playerid] = 79; SetPVarInt(playerid, "CurrentSkin", 119); }
- else if(BrowsingItem[playerid] == 79) { SetPlayerSkin(playerid, 149); BrowsingItem[playerid] = 80; SetPVarInt(playerid, "CurrentSkin", 149); }
- else if(BrowsingItem[playerid] == 80) { SetPlayerSkin(playerid, 208); BrowsingItem[playerid] = 81; SetPVarInt(playerid, "CurrentSkin", 208); }
- else if(BrowsingItem[playerid] == 81) { SetPlayerSkin(playerid, 273); BrowsingItem[playerid] = 82; SetPVarInt(playerid, "CurrentSkin", 273); }
- else if(BrowsingItem[playerid] == 82) { SetPlayerSkin(playerid, 289); BrowsingItem[playerid] = 83; SetPVarInt(playerid, "CurrentSkin", 289); }
- else if(BrowsingItem[playerid] == 83) { SetPlayerSkin(playerid, 123); BrowsingItem[playerid] = 1; SetPVarInt(playerid, "CurrentSkin", 123); }
- }
- else if(GetPVarInt(playerid, "BrowsingFSuits") == 1)
- {
- if(BrowsingItem[playerid] == 1) { SetPlayerSkin(playerid, 11); BrowsingItem[playerid] = 2; SetPVarInt(playerid, "CurrentSkin", 11); }
- else if(BrowsingItem[playerid] == 2) { SetPlayerSkin(playerid, 141); BrowsingItem[playerid] = 3; SetPVarInt(playerid, "CurrentSkin", 141); }
- else if(BrowsingItem[playerid] == 3) { SetPlayerSkin(playerid, 148); BrowsingItem[playerid] = 4; SetPVarInt(playerid, "CurrentSkin", 148); }
- else if(BrowsingItem[playerid] == 4) { SetPlayerSkin(playerid, 150); BrowsingItem[playerid] = 5; SetPVarInt(playerid, "CurrentSkin", 150); }
- else if(BrowsingItem[playerid] == 5) { SetPlayerSkin(playerid, 172); BrowsingItem[playerid] = 6; SetPVarInt(playerid, "CurrentSkin", 172); }
- else if(BrowsingItem[playerid] == 6) { SetPlayerSkin(playerid, 76); BrowsingItem[playerid] = 7; SetPVarInt(playerid, "CurrentSkin", 76); }
- else if(BrowsingItem[playerid] == 7) { SetPlayerSkin(playerid, 9); BrowsingItem[playerid] = 8; SetPVarInt(playerid, "CurrentSkin", 9); }
- else if(BrowsingItem[playerid] == 8) { SetPlayerSkin(playerid, 172); BrowsingItem[playerid] = 9; SetPVarInt(playerid, "CurrentSkin", 172); }
- else if(BrowsingItem[playerid] == 9) { SetPlayerSkin(playerid, 194); BrowsingItem[playerid] = 10; SetPVarInt(playerid, "CurrentSkin", 194); }
- else if(BrowsingItem[playerid] == 10) { SetPlayerSkin(playerid, 219); BrowsingItem[playerid] = 1; SetPVarInt(playerid, "CurrentSkin", 219); }
- }
- else if(GetPVarInt(playerid, "BrowsingFSports") == 1)
- {
- if(BrowsingItem[playerid] == 1) { SetPlayerSkin(playerid, 56); BrowsingItem[playerid] = 2; SetPVarInt(playerid, "CurrentSkin", 56); }
- else if(BrowsingItem[playerid] == 2) { SetPlayerSkin(playerid, 13); BrowsingItem[playerid] = 3; SetPVarInt(playerid, "CurrentSkin", 13); }
- else if(BrowsingItem[playerid] == 3) { SetPlayerSkin(playerid, 215); BrowsingItem[playerid] = 4; SetPVarInt(playerid, "CurrentSkin", 215); }
- else if(BrowsingItem[playerid] == 4) { SetPlayerSkin(playerid, 226); BrowsingItem[playerid] = 5; SetPVarInt(playerid, "CurrentSkin", 226); }
- else if(BrowsingItem[playerid] == 5) { SetPlayerSkin(playerid, 231); BrowsingItem[playerid] = 6; SetPVarInt(playerid, "CurrentSkin", 231); }
- else if(BrowsingItem[playerid] == 6) { SetPlayerSkin(playerid, 88); BrowsingItem[playerid] = 7; SetPVarInt(playerid, "CurrentSkin", 88); }
- else if(BrowsingItem[playerid] == 7) { SetPlayerSkin(playerid, 41); BrowsingItem[playerid] = 8; SetPVarInt(playerid, "CurrentSkin", 41); }
- else if(BrowsingItem[playerid] == 8) { SetPlayerSkin(playerid, 191); BrowsingItem[playerid] = 9; SetPVarInt(playerid, "CurrentSkin", 191); }
- else if(BrowsingItem[playerid] == 9) { SetPlayerSkin(playerid, 193); BrowsingItem[playerid] = 1; SetPVarInt(playerid, "CurrentSkin", 193); }
- }
- else if(GetPVarInt(playerid, "BrowsingFUnderwear") == 1)
- {
- if(BrowsingItem[playerid] == 1) { SetPlayerSkin(playerid, 138); BrowsingItem[playerid] = 2; SetPVarInt(playerid, "CurrentSkin", 138); }
- else if(BrowsingItem[playerid] == 2) { SetPlayerSkin(playerid, 139); BrowsingItem[playerid] = 3; SetPVarInt(playerid, "CurrentSkin", 139); }
- else if(BrowsingItem[playerid] == 3) { SetPlayerSkin(playerid, 140); BrowsingItem[playerid] = 4; SetPVarInt(playerid, "CurrentSkin", 140); }
- else if(BrowsingItem[playerid] == 4) { SetPlayerSkin(playerid, 145); BrowsingItem[playerid] = 5; SetPVarInt(playerid, "CurrentSkin", 145); }
- else if(BrowsingItem[playerid] == 5) { SetPlayerSkin(playerid, 251); BrowsingItem[playerid] = 6; SetPVarInt(playerid, "CurrentSkin", 251); }
- else if(BrowsingItem[playerid] == 6) { SetPlayerSkin(playerid, 92); BrowsingItem[playerid] = 7; SetPVarInt(playerid, "CurrentSkin", 92); }
- else if(BrowsingItem[playerid] == 7) { SetPlayerSkin(playerid, 244); BrowsingItem[playerid] = 8; SetPVarInt(playerid, "CurrentSkin", 244); }
- else if(BrowsingItem[playerid] == 8) { SetPlayerSkin(playerid, 251); BrowsingItem[playerid] = 1; SetPVarInt(playerid, "CurrentSkin", 251); }
- }
- else if(GetPVarInt(playerid, "BrowsingFRegular") == 1)
- {
- if(BrowsingItem[playerid] == 1) { SetPlayerSkin(playerid, 12); BrowsingItem[playerid] = 2; SetPVarInt(playerid, "CurrentSkin", 12); }
- else if(BrowsingItem[playerid] == 2) { SetPlayerSkin(playerid, 151); BrowsingItem[playerid] = 3; SetPVarInt(playerid, "CurrentSkin", 151); }
- else if(BrowsingItem[playerid] == 3) { SetPlayerSkin(playerid, 169); BrowsingItem[playerid] = 4; SetPVarInt(playerid, "CurrentSkin", 169); }
- else if(BrowsingItem[playerid] == 4) { SetPlayerSkin(playerid, 54); BrowsingItem[playerid] = 5; SetPVarInt(playerid, "CurrentSkin", 54); }
- else if(BrowsingItem[playerid] == 5) { SetPlayerSkin(playerid, 263); BrowsingItem[playerid] = 6; SetPVarInt(playerid, "CurrentSkin", 263); }
- else if(BrowsingItem[playerid] == 6) { SetPlayerSkin(playerid, 216); BrowsingItem[playerid] = 7; SetPVarInt(playerid, "CurrentSkin", 216); }
- else if(BrowsingItem[playerid] == 7) { SetPlayerSkin(playerid, 214); BrowsingItem[playerid] = 8; SetPVarInt(playerid, "CurrentSkin", 214); }
- else if(BrowsingItem[playerid] == 8) { SetPlayerSkin(playerid, 225); BrowsingItem[playerid] = 9; SetPVarInt(playerid, "CurrentSkin", 225); }
- else if(BrowsingItem[playerid] == 9) { SetPlayerSkin(playerid, 89); BrowsingItem[playerid] = 10; SetPVarInt(playerid, "CurrentSkin", 89); }
- else if(BrowsingItem[playerid] == 10) { SetPlayerSkin(playerid, 218); BrowsingItem[playerid] = 11; SetPVarInt(playerid, "CurrentSkin", 218); }
- else if(BrowsingItem[playerid] == 11) { SetPlayerSkin(playerid, 40); BrowsingItem[playerid] = 12; SetPVarInt(playerid, "CurrentSkin", 40); }
- else if(BrowsingItem[playerid] == 12) { SetPlayerSkin(playerid, 69); BrowsingItem[playerid] = 13; SetPVarInt(playerid, "CurrentSkin", 69); }
- else if(BrowsingItem[playerid] == 13) { SetPlayerSkin(playerid, 93); BrowsingItem[playerid] = 14; SetPVarInt(playerid, "CurrentSkin", 93); }
- else if(BrowsingItem[playerid] == 14) { SetPlayerSkin(playerid, 39); BrowsingItem[playerid] = 15; SetPVarInt(playerid, "CurrentSkin", 39); }
- else if(BrowsingItem[playerid] == 15) { SetPlayerSkin(playerid, 233); BrowsingItem[playerid] = 16; SetPVarInt(playerid, "CurrentSkin", 233); }
- else if(BrowsingItem[playerid] == 16) { SetPlayerSkin(playerid, 55); BrowsingItem[playerid] = 17; SetPVarInt(playerid, "CurrentSkin", 55); }
- else if(BrowsingItem[playerid] == 17) { SetPlayerSkin(playerid, 53); BrowsingItem[playerid] = 18; SetPVarInt(playerid, "CurrentSkin", 53); }
- else if(BrowsingItem[playerid] == 18) { SetPlayerSkin(playerid, 131); BrowsingItem[playerid] = 19; SetPVarInt(playerid, "CurrentSkin", 131); }
- else if(BrowsingItem[playerid] == 19) { SetPlayerSkin(playerid, 152); BrowsingItem[playerid] = 20; SetPVarInt(playerid, "CurrentSkin", 152); }
- else if(BrowsingItem[playerid] == 20) { SetPlayerSkin(playerid, 192); BrowsingItem[playerid] = 21; SetPVarInt(playerid, "CurrentSkin", 192); }
- else if(BrowsingItem[playerid] == 21) { SetPlayerSkin(playerid, 198); BrowsingItem[playerid] = 22; SetPVarInt(playerid, "CurrentSkin", 198); }
- else if(BrowsingItem[playerid] == 22) { SetPlayerSkin(playerid, 207); BrowsingItem[playerid] = 23; SetPVarInt(playerid, "CurrentSkin", 207); }
- else if(BrowsingItem[playerid] == 23) { SetPlayerSkin(playerid, 211); BrowsingItem[playerid] = 24; SetPVarInt(playerid, "CurrentSkin", 211); }
- else if(BrowsingItem[playerid] == 24) { SetPlayerSkin(playerid, 85); BrowsingItem[playerid] = 25; SetPVarInt(playerid, "CurrentSkin", 85); }
- else if(BrowsingItem[playerid] == 25) { SetPlayerSkin(playerid, 224); BrowsingItem[playerid] = 26; SetPVarInt(playerid, "CurrentSkin", 224); }
- else if(BrowsingItem[playerid] == 26) { SetPlayerSkin(playerid, 237); BrowsingItem[playerid] = 27; SetPVarInt(playerid, "CurrentSkin", 237); }
- else if(BrowsingItem[playerid] == 27) { SetPlayerSkin(playerid, 238); BrowsingItem[playerid] = 28; SetPVarInt(playerid, "CurrentSkin", 238); }
- else if(BrowsingItem[playerid] == 28) { SetPlayerSkin(playerid, 243); BrowsingItem[playerid] = 29; SetPVarInt(playerid, "CurrentSkin", 243); }
- else if(BrowsingItem[playerid] == 29) { SetPlayerSkin(playerid, 298); BrowsingItem[playerid] = 30; SetPVarInt(playerid, "CurrentSkin", 298); }
- else if(BrowsingItem[playerid] == 30) { SetPlayerSkin(playerid, 195); BrowsingItem[playerid] = 31; SetPVarInt(playerid, "CurrentSkin", 195); }
- else if(BrowsingItem[playerid] == 31) { SetPlayerSkin(playerid, 190); BrowsingItem[playerid] = 32; SetPVarInt(playerid, "CurrentSkin", 190); }
- else if(BrowsingItem[playerid] == 32) { SetPlayerSkin(playerid, 245); BrowsingItem[playerid] = 1; SetPVarInt(playerid, "CurrentSkin", 245); }
- }
- else if(GetPVarInt(playerid, "BrowsingFOthers") == 1)
- {
- if(BrowsingItem[playerid] == 1) { SetPlayerSkin(playerid, 77); BrowsingItem[playerid] = 2; SetPVarInt(playerid, "CurrentSkin", 77); }
- else if(BrowsingItem[playerid] == 2) { SetPlayerSkin(playerid, 205); BrowsingItem[playerid] = 3; SetPVarInt(playerid, "CurrentSkin", 205); }
- else if(BrowsingItem[playerid] == 3) { SetPlayerSkin(playerid, 129); BrowsingItem[playerid] = 4; SetPVarInt(playerid, "CurrentSkin", 129); }
- else if(BrowsingItem[playerid] == 4) { SetPlayerSkin(playerid, 130); BrowsingItem[playerid] = 5; SetPVarInt(playerid, "CurrentSkin", 130); }
- else if(BrowsingItem[playerid] == 5) { SetPlayerSkin(playerid, 157); BrowsingItem[playerid] = 6; SetPVarInt(playerid, "CurrentSkin", 157); }
- else if(BrowsingItem[playerid] == 6) { SetPlayerSkin(playerid, 196); BrowsingItem[playerid] = 7; SetPVarInt(playerid, "CurrentSkin", 196); }
- else if(BrowsingItem[playerid] == 7) { SetPlayerSkin(playerid, 197); BrowsingItem[playerid] = 8; SetPVarInt(playerid, "CurrentSkin", 197); }
- else if(BrowsingItem[playerid] == 8) { SetPlayerSkin(playerid, 199); BrowsingItem[playerid] = 9; SetPVarInt(playerid, "CurrentSkin", 199); }
- else if(BrowsingItem[playerid] == 9) { SetPlayerSkin(playerid, 201); BrowsingItem[playerid] = 10; SetPVarInt(playerid, "CurrentSkin", 201); }
- else if(BrowsingItem[playerid] == 10) { SetPlayerSkin(playerid, 31); BrowsingItem[playerid] = 11; SetPVarInt(playerid, "CurrentSkin", 31); }
- else if(BrowsingItem[playerid] == 11) { SetPlayerSkin(playerid, 75); BrowsingItem[playerid] = 12; SetPVarInt(playerid, "CurrentSkin", 75); }
- else if(BrowsingItem[playerid] == 12) { SetPlayerSkin(playerid, 89); BrowsingItem[playerid] = 13; SetPVarInt(playerid, "CurrentSkin", 89); }
- else if(BrowsingItem[playerid] == 13) { SetPlayerSkin(playerid, 218); BrowsingItem[playerid] = 14; SetPVarInt(playerid, "CurrentSkin", 218); }
- else if(BrowsingItem[playerid] == 14) { SetPlayerSkin(playerid, 232); BrowsingItem[playerid] = 15; SetPVarInt(playerid, "CurrentSkin", 232); }
- else if(BrowsingItem[playerid] == 15) { SetPlayerSkin(playerid, 90); BrowsingItem[playerid] = 16; SetPVarInt(playerid, "CurrentSkin", 90); }
- else if(BrowsingItem[playerid] == 16) { SetPlayerSkin(playerid, 53); BrowsingItem[playerid] = 17; SetPVarInt(playerid, "CurrentSkin", 53); }
- else if(BrowsingItem[playerid] == 17) { SetPlayerSkin(playerid, 55); BrowsingItem[playerid] = 18; SetPVarInt(playerid, "CurrentSkin", 55); }
- else if(BrowsingItem[playerid] == 18) { SetPlayerSkin(playerid, 195); BrowsingItem[playerid] = 1; SetPVarInt(playerid, "CurrentSkin", 195); }
- }
- }
- else if (GetPVarInt(playerid, "gSmoking") == 2)
- {
- if (GetPVarInt(playerid, "high") != 1)
- {
- SetPlayerTime(playerid, 12, 0);
- SetPVarInt(playerid, "high", 1);
- SetPlayerWeather(playerid, -66);
- SetTimerEx("CleanUp", 120000, 0, "i", playerid);
- SetPlayerDrunkLevel(playerid, 15000);
- }
- }
- else if (weap != 0)
- {
- if(weap == 16 || weap == 27 || weap == 35 || weap == 36 || weap == 37 || weap == 38)
- {
- new playername[MAX_PLAYER_NAME];
- new year, month, day;
- new hours, minutes, seconds;
- GetPlayerName(playerid, playername, sizeof(playername));
- getdate(year, month, day);
- gettime(hours, minutes, seconds);
- format(string, sizeof(string), "[Union]: %s je dobio ban od AntiCheata! (%d-%d-%d)", playername,day,month,year);
- BanLog(string);
- format(string, sizeof(string), "[Union]: %s je dobio ban od AntiCheata!", playername);
- SendClientMessageToAll(COLOR_LIGHTRED, string);
- ClearChatBox(playerid);
- SendClientMessage(playerid, COLOR_WHITE, "- Dobili ste ban od AntiCheata!");
- SendClientMessage(playerid, COLOR_WHITE, "- Razlog bana: Weapon Cheat, nedozvoljeno oružje!");
- format(string, sizeof(string), " - Datum: %d/%d/%d | %d:%d:%d", day,month,year,hours,minutes,seconds);
- SendClientMessage(playerid, COLOR_WHITE, string);
- SendClientMessage(playerid, COLOR_RED,"[Union]: Ako mislite da niste zasluzili ban molimo vas da nam se obratite na nasem forumu.");
- PlayerInfo[playerid][pAdmin] = PlayerInfo[playerid][pLevel];
- PlayerInfo[playerid][pLevel] = -999;
- Ban(playerid);
- return 1;
- }
- if(weap == 18 && GetAmmo(playerid) > 50)
- {
- new playername[MAX_PLAYER_NAME];
- new year, month, day;
- new hours, minutes, seconds;
- GetPlayerName(playerid, playername, sizeof(playername));
- getdate(year, month, day);
- gettime(hours, minutes, seconds);
- format(string, sizeof(string), "[Union]: %s je dobio ban od AntiCheata. (50+ koktela) (%d-%d-%d)", playername,day,month,year);
- BanLog(string);
- format(string, sizeof(string), "[Union]: %s je dobio ban od AntiCheata.", playername);
- SendClientMessageToAll(COLOR_LIGHTRED, string);
- ClearChatBox(playerid);
- SendClientMessage(playerid, COLOR_WHITE, "- Dobili ste ban od AntiCheata!");
- SendClientMessage(playerid, COLOR_WHITE, "- Razlog bana: Weapon Cheat");
- format(string, sizeof(string), " - Datum: %d/%d/%d | %d:%d:%d", day,month,year,hours,minutes,seconds);
- SendClientMessage(playerid, COLOR_WHITE, string);
- SendClientMessage(playerid, COLOR_RED,"[Union]: Ako mislite da niste zasluzili ban molimo vas da nam se obratite na nasem forumu");
- PlayerInfo[playerid][pAdmin] = PlayerInfo[playerid][pLevel];
- PlayerInfo[playerid][pLevel] = -999;
- Ban(playerid);
- return 1;
- }
- if(weap == 22 || weap == 23 || weap == 24 || weap == 25 || weap == 28 || weap == 29 || weap == 30 || weap == 31 || weap == 33 || weap == 34)
- {
- if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
- {
- SetPVarInt(playerid, "UpdateCount", 20+(GetPlayerPing(playerid)/4));
- }
- if(GetPVarInt(playerid, "ConnectTime") < 1)
- {
- new playername[MAX_PLAYER_NAME];
- new year, month, day;
- new hours, minutes, seconds;
- GetPlayerName(playerid, playername, sizeof(playername));
- getdate(year, month, day);
- gettime(hours, minutes, seconds);
- format(string, sizeof(string), "[Union]: %s je dobio ban od AntiCheata!! (%d-%d-%d)", playername,day,month,year);
- BanLog(string);
- format(string, sizeof(string), "[Union]: %s je dobio ban od AntiCheata!", playername);
- SendClientMessageToAll(COLOR_LIGHTRED, string);
- ClearChatBox(playerid);
- SendClientMessage(playerid, COLOR_WHITE, "- Dobili ste ban od AntiCheata!");
- SendClientMessage(playerid, COLOR_WHITE, "- Razlog bana: Weapon Cheat, nedozvoljeno oružje!");
- format(string, sizeof(string), " - Datum: %d/%d/%d | %d:%d:%d", day,month,year,hours,minutes,seconds);
- SendClientMessage(playerid, COLOR_WHITE, string);
- SendClientMessage(playerid, COLOR_RED,"[Union]: Ako mislite da niste zasluzili ban molimo vas da nam se obratite na nasem forumu");
- PlayerInfo[playerid][pAdmin] = PlayerInfo[playerid][pLevel];
- PlayerInfo[playerid][pLevel] = -999;
- Ban(playerid);
- return 1;
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement