10.05.2013, 12:24
Good day. Does anybody haves an idea why it prints the correct skin ID, but sets as CJ (0)? Code:
Both times it prints the correct skin ID (for example, 37).
Thanks in advance!
pawn Код:
printf("userSkin: %d", userSkin);
SetSpawnInfo(playerid, 0, userSkin, userPos[0], userPos[1], userPos[2], 0, 0, 0, 0, 0, 0, 0);
SpawnPlayer (playerid);
printf("userSkin: %d", userSkin);
SetPlayerSkin(playerid, userSkin);
FreezePlayer(playerid, 2);
Thanks in advance!