03.04.2017, 14:23
Hello,
in my mode i have for example skin changer. Player go to pickup and buy any kind of skin.
I have save system too, so if player buy skin id 1 and die or relog he still have skin id 1.
When i test it, it works perfect for me. But iam player id 0, the wierd thing is that when join
another player (id 1), it doesnt work for the player. Player still spawn with skin that he choose in
onplayerrequestclass...
Is there any difference between players IDs ? Do i need to define something for server know that is another player?
Why my code does work for me and doesnt work for other players?
Thanks.
in my mode i have for example skin changer. Player go to pickup and buy any kind of skin.
I have save system too, so if player buy skin id 1 and die or relog he still have skin id 1.
When i test it, it works perfect for me. But iam player id 0, the wierd thing is that when join
another player (id 1), it doesnt work for the player. Player still spawn with skin that he choose in
onplayerrequestclass...
Is there any difference between players IDs ? Do i need to define something for server know that is another player?
Why my code does work for me and doesnt work for other players?
Thanks.