24.12.2011, 12:03
I have server 0.3d, but i dont have new 0.3d skins. How do I get them?
AddPlayerClass(3, 4, 5, 6, 8, 42, 65, 86, 119, 149, 208, 273, 289);
Like this?
Код:
AddPlayerClass(3, 4, 5, 6, 8, 42, 65, 86, 119, 149, 208, 273, 289); |
AddPlayerClass( 3, 2610.2380, -2438.4433, 13.6319, 90.4278, 24, 9999, 30, 9999, 2, 2 );
Like this?
Код:
AddPlayerClass(3, 4, 5, 6, 8, 42, 65, 86, 119, 149, 208, 273, 289); |
AddPlayerClass(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo);
AddPlayerClass(3, 1253.14, 1367.89, 10.8, 180, 38, 15000, 22, 220, 31, 3000);
AddPlayerClass(4, 1253.14, 1367.89, 10.8, 180, 38, 15000, 22, 220, 31, 3000);
AddPlayerClass(5, 1253.14, 1367.89, 10.8, 180, 38, 15000, 22, 220, 31, 3000);
AddPlayerClass(6, 1253.14, 1367.89, 10.8, 180, 38, 15000, 22, 220, 31, 3000);
AddPlayerClass(8, 1253.14, 1367.89, 10.8, 180, 38, 15000, 22, 220, 31, 3000);
AddPlayerClass(42, 1253.14, 1367.89, 10.8, 180, 38, 15000, 22, 220, 31, 3000);
AddPlayerClass(65, 1253.14, 1367.89, 10.8, 180, 38, 15000, 22, 220, 31, 3000);
AddPlayerClass(86, 1253.14, 1367.89, 10.8, 180, 38, 15000, 22, 220, 31, 3000);
public OnGameModeInit()
AddPlayerClass(3, 1642.7285,-2240.5591,13.4945,180.0272, 0, 0, 0, 0, 0, 0); AddPlayerClass(4, 1642.7285,-2240.5591,13.4945,180.0272, 0, 0, 0, 0, 0, 0); AddPlayerClass(5, 1642.7285,-2240.5591,13.4945,180.0272, 0, 0, 0, 0, 0, 0); AddPlayerClass(6, 1642.7285,-2240.5591,13.4945,180.0272, 0, 0, 0, 0, 0, 0); AddPlayerClass(8, 1642.7285,-2240.5591,13.4945,180.0272, 0, 0, 0, 0, 0, 0); AddPlayerClass(42, 1642.7285,-2240.5591,13.4945,180.0272, 0, 0, 0, 0, 0, 0); AddPlayerClass(65, 1642.7285,-2240.5591,13.4945,180.0272, 0, 0, 0, 0, 0, 0); AddPlayerClass(86, 1642.7285,-2240.5591,13.4945,180.0272, 0, 0, 0, 0, 0, 0); AddPlayerClass(119, 1642.7285,-2240.5591,13.4945,180.0272, 0, 0, 0, 0, 0, 0); AddPlayerClass(149, 1642.7285,-2240.5591,13.4945,180.0272, 0, 0, 0, 0, 0, 0); AddPlayerClass(208, 1642.7285,-2240.5591,13.4945,180.0272, 0, 0, 0, 0, 0, 0); AddPlayerClass(273, 1642.7285,-2240.5591,13.4945,180.0272, 0, 0, 0, 0, 0, 0); AddPlayerClass(289, 1642.7285,-2240.5591,13.4945,180.0272, 0, 0, 0, 0, 0, 0);
Used:
pawn Код:
pawn Код:
|
Used:
pawn Код:
pawn Код:
|
CMD:setskin(playerid, params[]) { if(!(PlayerInfo[playerid][pAdminLevel] >= 3)) return ErrorMsg(playerid, "You are not admin!"); new otherId, amount; new string[128]; if(sscanf(params, "ui", otherId, amount)) return SendClientMessage(playerid, COLOR_GRAD1, "Use: /setskin [id] [skinid]"); if(!IsPlayerConnected(otherId) || otherId == INVALID_PLAYER_ID) return SendClientMessage(playerid, COLOR_GRAD1, "Player not in server."); if(amount < 0 || amount > 299) return SendClientMessage(playerid, COLOR_GREY, "* Cannot go under 0 or above 299."); SafeSetPlayerSkin(otherId, amount); PlayerInfo[otherId][pModel] = amount; format(string, sizeof(string), "Admin %s change player %s skin %d.", Nimi(playerid), Nimi(otherId), amount); SendAdminMessage(COLOR_YELLOW,string); format(string, sizeof(string), "Admin %s change skin ID %d.", Nimi(playerid), amount); SendClientMessage(otherId, COLOR_GRAD1, string); return true; }