SA-MP Forums Archive
help please sorry! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: help please sorry! (/showthread.php?tid=191152)



help please sorry! - Buzzbomb - 18.11.2010

How do i go about getting player Skin.. from a userfile

I tried this
Код:
SetPlayerSkin(playerid, dini_Int(file, "Character"));
Didn't Work
================
I tried this
Код:
SetPlayerSkin(playerid, dini_Int(file, PlayerInfo[playerid][pCharacter]));
Didn't work either

Man what the hell


Re: help please sorry! - (SF)Noobanatior - 18.11.2010

pawn Код:
PlayerInfo[playerid][pCharacter]= dini_Int(file, "Character");
SetPlayerSkin(playerid, PlayerInfo[playerid][pCharacter]);
that should work if you save as "Character"


Re: help please sorry! - Buzzbomb - 18.11.2010

Grr that didnt work either Pm me with your msn Ill show you my mode but i wont post on forums or pastebin but for now im going to bed


Re: help please sorry! - Bessensap - 18.11.2010

Are u sure the file is there? Check in your sampfiledirectory/Scriptfiles/bla


Re: help please sorry! - iggy1 - 18.11.2010

Probably a good idea to show the code where you put the players skin into the file too.


Re: help please sorry! - Buzzbomb - 18.11.2010

Yeah the userfiles and stuff are in scriptfiles its reading them cause its getting player money armor and what ever else it just aint getting the player skin So on spawn it naturally spawns me and others with CJ!

So to try and destroy that problem i deleted all addplayerclass still the same