mysql help doesnt set players skin
#1

Hi, i don't know why, mysql does save and load players skin but when i spawn i still get skin: 0

Код HTML:
SetSpawnInfo(playerid, 0, zInfo[playerid][pSkin], zInfo[playerid][posx], zInfo[playerid][posy], zInfo[playerid][posz], zInfo[playerid][posangle], 0, 0, 0, 0, 0, 0);
	            SpawnPlayer(playerid);
Код HTML:
orm_addvar_int(zInfo[ playerid ][ Ormid ], zInfo[ playerid ][ pSkin ], "Skin");
database pic: https://prnt.sc/kk6mzq
Reply
#2

help
Reply
#3

I recommand using SetPlayerSkin after you call Spawn player.

BTW are you getting any errors or warnings while compiling the gamemode or while running the gamemode?
Reply
#4

yeah i will try that

no, no errors no warnings
Reply
#5

okey, it works now, thanks , i thought the same thing after i posted this
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)