28.02.2010, 22:19
gosh..
lol . .
YOu understand what you did? D:
YOu created player with that skin. .
at the top
OnlayerSpawn
when creating file ! - order is yours !
And this
when you want to save skin - by the cmd or smth..
Like: admin changes player skin it saves ..
Ofcourse at every place put PlayerFile..
lol . .
YOu understand what you did? D:
YOu created player with that skin. .
at the top
Код:
new IsLogged[MAX_PLAYERS];
Код:
if(dini_Int(file, "SkinSaver") == 1) { SetPlayerSkin(playerid, dini_Int(file, "Skin")); }
Код:
dini_IntSet(file, "SkinSaver", 0); dini_IntSet(file, "Skin", 0);
when you want to save skin - by the cmd or smth..
Like: admin changes player skin it saves ..
Код:
dini_IntSet(file, "Skin", GetPlayerSkin(player)); dini_IntSet(file, "SkinSaver", 1);
Код:
new pName[24], file[128]; GetPlayerName(playerid, pName, sizeof(pName)); format(file, sizeof(file),"LOCATION/%s.ini ",pName);