SA-MP Forums Archive
new 0.3d skins - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: new 0.3d skins (/showthread.php?tid=305913)



new 0.3d skins - TouhGear - 24.12.2011

I have server 0.3d, but i dont have new 0.3d skins. How do I get them?


Re: new 0.3d skins - Thresholdold - 24.12.2011

Use AddPlayerClass with the new 0.3d skin ids.


Re: new 0.3d skins - TouhGear - 24.12.2011

Like this?

Код:
	AddPlayerClass(3, 4, 5, 6, 8, 42, 65, 86, 119, 149, 208, 273, 289);



Re: new 0.3d skins - Ballu Miaa - 24.12.2011

Its for RC5? or R2?

Quote:
Originally Posted by TouhGear
Посмотреть сообщение
Like this?

Код:
	AddPlayerClass(3, 4, 5, 6, 8, 42, 65, 86, 119, 149, 208, 273, 289);
No No No! Like this

pawn Код:
AddPlayerClass( 3, 2610.2380, -2438.4433, 13.6319, 90.4278, 24, 9999, 30, 9999, 2, 2 );
3 is the Skin ID , XCoordinate , YCoordinate,Zcoordinate,Angle,Gun1 ,Ammo1 ,Gun2,Ammo2,Gun3,Ammo3

EDIT:
Quote:
Originally Posted by TouhGear
Посмотреть сообщение
I have 0.3d R1
Download the latest version from www.sa-mp.com


Re: new 0.3d skins - TouhGear - 24.12.2011

I have 0.3d R1


Re: new 0.3d skins - Riddick94 - 24.12.2011

https://sampwiki.blast.hk/wiki/Skins:03d
https://sampwiki.blast.hk/wiki/AddPlayerClass


Re: new 0.3d skins - Thresholdold - 24.12.2011

Quote:
Originally Posted by TouhGear
Посмотреть сообщение
Like this?

Код:
	AddPlayerClass(3, 4, 5, 6, 8, 42, 65, 86, 119, 149, 208, 273, 289);
Used:
pawn Код:
AddPlayerClass(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo);
Example:
pawn Код:
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);
Etc. Etc.


Re: new 0.3d skins - TouhGear - 24.12.2011

Код:
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);
Its not work.


Re: new 0.3d skins - TouhGear - 24.12.2011

Quote:
Originally Posted by Threshold
Посмотреть сообщение
Used:
pawn Код:
AddPlayerClass(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo);
Example:
pawn Код:
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);
Etc. Etc.
I use /setskin but not work.
I use roleplay gamemode.


Re: new 0.3d skins - TouhGear - 24.12.2011

Quote:
Originally Posted by Threshold
Посмотреть сообщение
Used:
pawn Код:
AddPlayerClass(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo);
Example:
pawn Код:
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);
Etc. Etc.
I use /setskin but not work.
I use roleplay gamemode.


Re: new 0.3d skins - Thresholdold - 24.12.2011

show your setskin command


Re: new 0.3d skins - TouhGear - 24.12.2011

Код:
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;
}
Sorry bad english


Re: new 0.3d skins - TouhGear - 24.12.2011

Please someone help me.


Re: new 0.3d skins - Steven82 - 24.12.2011

Why does everyone assume they need the r2 scripting package. It's optional because it just increases the player count. And with the new package AFAIK sscanf still needs to be update, and a few more plugins.