Skin tags - 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: Skin tags (
/showthread.php?tid=663533)
Skin tags -
SymonClash - 03.02.2019
Just discovered this include:
https://sampforum.blast.hk/showthread.php?tid=616647
But i have some problems passing some functions.
I made a simple SendClientMessage to debug (Because i wanna create a textdraw later) and show some infos.
I placed the code on OnPlayerRequestClass and works, the functions i have the problem with are:
GetSkinName
GetSkinModelName
GetSkinGenderName
And all functions with "output[], outlen = sizeof(output))".
I don't know what to write, example:
"GetSkinName(classid,
output[], outlen = sizeof(output))" What i have to write after classid? I tried passing only GetSkinName(classid) but got argument type mismatch. (Obviously).
In short, i have a problem passing variables on that functions.
Re: Skin tags -
SymonClash - 03.02.2019
Yes but i'm trying to pass them on OnPlayerRequestClass which has only playerid and classid. I don't know, probably is something easy but i can't figure it.
Re: Skin tags -
SymonClash - 04.02.2019
So GetSkinName(playerid, classid). Am i right?
Re: Skin tags -
Hazon - 04.02.2019
https://sampforum.blast.hk/showthread.php?tid=616647
Re: Skin tags -
SymonClash - 04.02.2019
Quote:
Originally Posted by Hazon
|
What?
Re: Skin tags -
SymonClash - 04.02.2019
EDIT, resolved!