Error with skins [ GRP ]
#1

Hello guy's!

I found error on my script and i don't know how to fix it, no errors or anything..

Setting the skin

Код:
					if(playerDB[playerid][plead] == 1) return SetPlayerSkin(playerid, 288); playerDB[playerid][uniforma] = 288; playerDB[playerid][uniformd] = true;
					if(playerDB[playerid][rangas] == 0 ) return SetPlayerSkin(playerid, 280); playerDB[playerid][uniforma] = 280; playerDB[playerid][uniformd] = true;
					if(playerDB[playerid][rangas] == 1 ) return SetPlayerSkin(playerid, 281); playerDB[playerid][uniforma] = 281; playerDB[playerid][uniformd] = true;
					if(playerDB[playerid][rangas] == 2 ) return SetPlayerSkin(playerid, 266); playerDB[playerid][uniforma] = 266; playerDB[playerid][uniformd] = true;
Saving:
dini_BoolSet(file,"Uniformd",playerDB[playerid][uniformd]);

Loading:
if (dini_Int(file,"Uniformd")) playerDB[playerid][uniformd] = true;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)