new 0.3d skins
#1

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

Use AddPlayerClass with the new 0.3d skin ids.
Reply
#3

Like this?

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

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
Reply
#5

I have 0.3d R1
Reply
#6

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

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.
Reply
#8

Код:
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.
Reply
#9

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.
Reply
#10

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.
Reply
#11

show your setskin command
Reply
#12

Код:
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
Reply
#13

Please someone help me.
Reply
#14

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)