*** YSI Error: No YSI classes found
new skin[300];
for(new i = -1; i < 299; i++) skins = Class_Add(i, 0.0, 0.0, 0.0, 0.0, WEAPON_DEAGLE, 100);
new i; for(i = 0; i < 300; i ++) { if(i == (0, 105, 106, 107, 102, 103, 104, 108, 109, 110, 292, 114, 115, 116)) continue; else Class_SetPlayer(i, playerid, false); } // Grove Class_SetPlayer(skins[0], playerid, true); Class_SetPlayer(skins[105], playerid, true); Class_SetPlayer(skins[106], playerid, true); Class_SetPlayer(skins[107], playerid, true); // Ballas Class_SetPlayer(skins[102], playerid, true); Class_SetPlayer(skins[103], playerid, true); Class_SetPlayer(skins[104], playerid, true); // Vagos Class_SetPlayer(skins[108], playerid, true); Class_SetPlayer(skins[109], playerid, true); Class_SetPlayer(skins[110], playerid, true); // Aztecas Class_SetPlayer(skins[292], playerid, true); Class_SetPlayer(skins[114], playerid, true); Class_SetPlayer(skins[115], playerid, true); Class_SetPlayer(skins[116], playerid, true);
if(valtozo - (valtozo +2))
if(i == (0, 105, 106, 107, 102, 103, 104, 108, 109, 110, 292, 114, 115, 116)) continue;[/quote]Amúgy meg ez csak switch-el mûködik.
switch(i) { case 0, 105, 106, 107, 102, 103, 104, 108, 109, 110, 292, 114, 115, 116: continue; } Class_SetPlayer(i, playerid, false);