Posts: 1,046
Threads: 250
Joined: Nov 2014
Reputation:
0
cache_get_value_int(0, "Skin", PlayerInfo[playerid][Skin]); - Just an example how it should look...
Posts: 525
Threads: 158
Joined: Apr 2012
Reputation:
0
@Andrei
Thanks.
@vince
I actually created this script before a year and i m scripting it again so. Have to fix it and no it doesn't show any warning or error. Thanks to you for letting me.
But both of your post really didn't help me.
Posts: 1,648
Threads: 482
Joined: Jun 2010
Quote:
It doesn't load players skin but it does save player skin into database.
|
Generally, skins don't set unless the player is spawned, try setting them OnPlayerSpawn.
Also I don't see where you are doing TogglePlayerSpectating(playerid, 1);
pawn Код:
public OnPlayerConnect(playerid)
{
TogglePlayerSpectating(playerid, 1);