SA-MP Forums Archive
How to Change newbie skin? - 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: How to Change newbie skin? (/showthread.php?tid=405873)



How to Change newbie skin? - Antonioh - 08.01.2013

When people Register in my server And finishing the tutorial They get Skin id 299
How i can Change it?


Re: How to Change newbie skin? - Roel - 08.01.2013

SetPlayerSkin(playerid,skinid);

...


Re: How to Change newbie skin? - Antonioh - 08.01.2013

i Trying to Find in my Script about SetPlayerskin(playerid, 299);
and can't find it..


Re: How to Change newbie skin? - Roel - 08.01.2013

Search for SpawnInfo or AddPlayerClass


Re: How to Change newbie skin? - Antonioh - 08.01.2013

Found
Quote:

SetSpawnInfo(playerid, PlayerInfo[playerid][pTeam], PlayerInfo[playerid][pModel], PlayerInfo[playerid][pPos_x], PlayerInfo[playerid][pPos_y], PlayerInfo[playerid][pPos_z], 1.0, -1, -1, -1, -1, -1, -1);

And
Quote:

AddPlayerClass(Peds[i][0],1958.3783,1343.1572,1100.3746,269.1425,-1,-1,-1,-1,-1,-1);




Re: How to Change newbie skin? - Roel - 08.01.2013

what is your pmodel?

search
PlayerInfo[playerid][pModel] = 299;

or

PlayerInfo[playerid][pModel] =

or

pModel


Re: How to Change newbie skin? - Antonioh - 08.01.2013

Quote:
Originally Posted by Roel
Посмотреть сообщение
what is your pmodel?

search
PlayerInfo[playerid][pModel] = 299;

or

PlayerInfo[playerid][pModel] =

or

pModel
Thanks +rep