Skin on player register
#1

How i can put skin when someone register, than login?!
Because this Cj skin it is too ugly ://..
Reply
#2

https://sampwiki.blast.hk/wiki/SetPlayerSkin

Or use the parameter on SetSpawnInfo
Reply
#3

Still i cant fix it. Please show me in code :/
Reply
#4

Use SetPlayerSkin under login fuction to set it to a specific skin each time they login.
Use it under register function to set it once when they register.

Read the link he provided to know how to use it.
Reply
#5

Quote:
Originally Posted by Don_Cage
Посмотреть сообщение
Use SetPlayerSkin under login fuction to set it to a specific skin each time they login.
Use it under register function to set it once when they register.

Read the link he provided to know how to use it.

I've put SetPlayerSkin(playerid, 137); under Public OnPlayerLogins and also under OnPlayerRegister, but still nothing..
Wtf? What is wrong with this?
Reply
#6

SOMEONE know? To tell me pls?!!!!
Reply
#7

Set it after SpawnPlayer(playerid);
Reply
#8

Quote:
Originally Posted by Runn3R
Посмотреть сообщение
Set it after SpawnPlayer(playerid);
But , what about when someone changes his clothes in clothes shop , and he relog, skin doesnt stay, how i can fix this?
Reply
#9

Create a variable to store the skin in and everytime he changes it in clothes shop, change the variable to the skin he set in clothes shop then when he logs in use SetPlayerSkin(playerid, skinvariable)
Reply
#10

Quote:
Originally Posted by Alex_T
Посмотреть сообщение
Create a variable to store the skin in and everytime he changes it in clothes shop, change the variable to the skin he set in clothes shop then when he logs in use SetPlayerSkin(playerid, skinvariable)
I've Put under SetPlayerSpawn --- SetPlayerSkin(playerid, 137); and under OnPlayerLogins:

Код:
    new originalskin = PlayerInfo[playerid][pModel];
   	SetPlayerSkin(playerid, originalskin);//
Still nothing.. When i spawn give me skin with id 137, but when i change it in clothes shop and relog, skin still same..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)