Why isnt this working? - 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)
+--- Thread: Why isnt this working? (
/showthread.php?tid=603517)
Why isnt this working? -
Theepiccoder - 24.03.2016
Код:
PlayerInfo[targetid][pSkin] = 20;
targetskin = PlayerInfo[targetid][pSkin];
SetPlayerSkin(targetid, targetskin);
I have no idea why this is not working. Could someone fix it?
There are no errors or warnings. I have targetid and targetskin defined.
Re: Why isnt this working? -
Admigo - 24.03.2016
Код:
SetPlayerSkin(targetid, PlayerInfo[targetid][pSkin]);
would be eassier.
What are you trying to do?