18.07.2015, 11:46
Okay so i have like 6-7 classes and each class got like 2-3-4 skins.
The problem is when i scrool through classes is loads same skin for every class
Here is the part of script how i made it,
The problem is when i scrool through classes is loads same skin for every class
Here is the part of script how i made it,
pawn Код:
switch (classid)
{
case 0, 1, 2, 3:
{
GameTextForPlayer(playerid, "~red~ HITMAN", 3000, 5);
SetSpawnInfo(playerid, 0, 163, -2623.9263,1408.1765,7.1016, 269.15, 26, 36, 28, 150, 0, 0 ); // hitman 1
SetSpawnInfo(playerid, 0, 164, -2623.9263,1408.1765,7.1016, 269.15, 26, 36, 28, 150, 0, 0 ); // hitman 2
SetSpawnInfo(playerid, 0, 165, -2623.9263,1408.1765,7.1016, 269.15, 26, 36, 28, 150, 0, 0 ); // hitman 3
SetSpawnInfo(playerid, 0, 294, -2623.9263,1408.1765,7.1016, 269.15, 26, 36, 28, 150, 0, 0 ); // hitman 4
}
case 4, 5, 6:
{
GameTextForPlayer(playerid, "~red~ MEDIC", 3000, 5);
SetSpawnInfo(playerid, 0, 70, -2675.0898,631.8127,14.4531, 269.15, 26, 36, 28, 150, 0, 0 ); // medic 1
SetSpawnInfo(playerid, 0, 71, -2675.0898,631.8127,14.4531, 269.15, 26, 36, 28, 150, 0, 0 ); // medic 2
SetSpawnInfo(playerid, 0, 193, -2675.0898,631.8127,14.4531, 269.15, 26, 36, 28, 150, 0, 0 ); // medic 3
}