08.08.2010, 00:53
can i ask you something?
if i want that skin be saved all the time without command, what i need to do?
im try to take this code:
and its not working in the server..
in "scriptfiles\Skins\mynick.ini" write: SkinID=0
and.. in my server i press "F4" and its give me to change my class..
can you help me? plz!
if i want that skin be saved all the time without command, what i need to do?
im try to take this code:
Код:
new omgstring[128]; new omgstring2[128]; new skinid; new omgname[MAX_PLAYER_NAME]; GetPlayerName(playerid,omgname,sizeof(omgname)); format(omgstring,sizeof(omgstring),"Skins/%s.ini",omgname);//make sure you make a Skins folder format(omgstring2,sizeof(omgstring2),"SkinID=%d\r\n",skinid); new File:omgfile=fopen(omgstring,io_write); fwrite(omgfile,omgstring2); fclose(omgfile);
in "scriptfiles\Skins\mynick.ini" write: SkinID=0
and.. in my server i press "F4" and its give me to change my class..
can you help me? plz!

