SetSpawnInfo & GetPlayerSkin
#1

The skin values of the following functions do not get custom skin value.

HTML Code:
new playerskin = GetPlayerSkin(playerid);

My skin value: 25000
Player skin returned: 0 (CJ)
HTML Code:
SetSpawnInfo(playerid, team, skin, Float:x, Float:y, Float:z, Float:rotation, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo)

Selected skin no: 25000
Returned skin CJ (0)
Reply
#2

Custom skins can only be used with SetPlayerSkin.
Reply
#3

Quote:
Originally Posted by Admigo
View Post
Custom skins can only be used with SetPlayerSkin.
I hope that isn't the case when 0.3.8 is officially released; I hope that sometime during the RC phase - AddPlayerClass, AddPlayerClassEx, SetSpawnInfo, GetPlayerSkin, and (I've just read about this one) CreateActor - all support custom skins.
Reply
#4

Quote:
Originally Posted by BeckzyBoi
View Post
I hope that isn't the case when 0.3.8 is officially released; I hope that sometime during the RC phase - AddPlayerClass, AddPlayerClassEx, SetSpawnInfo, GetPlayerSkin, and (I've just read about this one) CreateActor - all support custom skins.
Quote from Kalcor:
Quote:

I don't think custom skins are going to play well with the old class selection system. I might fix it before release.

Actors already support custom skins. Only there is an issue when you aim on the actor like the actor is trying to move.
Reply
#5

Quote:
Originally Posted by Admigo
View Post
Actors already support custom skins. Only there is an issue when you aim on the actor like the actor is trying to move.
I read that CreateActor returns 65535 with custom skins.
Reply
#6

I have no problems with actors.
Reply
#7

What ID does CreateActor return when you create the dog?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)