help please sorry!
#1

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
Reply
#2

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

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
Reply
#4

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

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

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)