did someone have the clothes system - 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: did someone have the clothes system (
/showthread.php?tid=310826)
did someone have the clothes system -
peterory - 14.01.2012
not change player skin
is let the player SetPlayerAttachedObject
can some one help me i will very thank you
Re: did someone have the clothes system -
iGetty - 14.01.2012
Can you explain more?
I am willing to help if you do.
Re: did someone have the clothes system -
peterory - 14.01.2012
Quote:
Originally Posted by iGetty
Can you explain more?
I am willing to help if you do.
|
like the player in the clothes shop
he can bought a cap a glasses or a phone
something else
sorry for my bad english
Re: did someone have the clothes system -
iGetty - 14.01.2012
Then all you have to do is:
pawn Код:
command(buyclothes, playerid, params[]){
SetPlayerAttachedObject(playerid, index, modelid, bone);
return 1;
}
You can always use "ShowPlayerDialog" for the player to be able to choose a range of items.
More information can be found on this link:
SetPlayerAttatchedObject
Re: did someone have the clothes system -
peterory - 14.01.2012
Quote:
Originally Posted by iGetty
Then all you have to do is:
pawn Код:
command(buyclothes, playerid, params[]){ SetPlayerAttachedObject(playerid, index, modelid, bone); return 1; }
You can always use "ShowPlayerDialog" for the player to be able to choose a range of items.
More information can be found on this link: SetPlayerAttatchedObject
|
thank you very much
Re: did someone have the clothes system -
iGetty - 14.01.2012
No problem. If you need anymore help, then re-post here. I am here to help for a few hours. (Also, +rep me if you don't mind :3)