Why doesn't this work? - 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 doesn't this work? (
/showthread.php?tid=442427)
Why doesn't this work? -
Sellize - 07.06.2013
Код:
new clothing;
clothing = GetPlayerSkin(playerid);
But when I do this nothing happens:
Код:
SetPlayerSkin(playerid, clothing);
Re: Why doesn't this work? -
Facerafter - 07.06.2013
Thats because, you store your current skin in clothing and than give you it to your self agian?
So your a basicly setting your skin to the skin you already have.
I think you want a /setskin cmd? If you want i can make one for you.
Re: Why doesn't this work? -
Sellize - 07.06.2013
Quote:
Originally Posted by Facerafter
Thats because, you store your current skin in clothing and than give you it to your self agian?
So your a basicly setting your skin to the skin you already have.
I think you want a /setskin cmd? If you want i can make one for you.
|
No. I know how to script but when I set a value to "clothing" and change my skin to something else and then load "clothing" back up my skin stays the same
Re: Why doesn't this work? -
Facerafter - 07.06.2013
Ok, Can you show more of the code.. ?
Re: Why doesn't this work? -
Sellize - 07.06.2013
Quote:
Originally Posted by Facerafter
Ok, Can you show more of the code.. ?
|
No, this should be enough
AW: Why doesn't this work? -
Blackazur - 07.06.2013
show us the full code with clothing.
Re: Why doesn't this work? -
Sellize - 07.06.2013
Alright then
http://pastebin.com/9QRHWdpy
Re: Why doesn't this work? -
Sellize - 07.06.2013
Well ... ?!
Re: Why doesn't this work? -
Revo - 07.06.2013
Your code is nothing precious and showing us half the code will not solve your issue.
Stop fooling yourself thinking your code is magical perfect and nobody should get it because if you can't code that then its far from perfect. /rant.