easy toy edit - 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: easy toy edit (
/showthread.php?tid=382589)
easy toy edit -
Jermi - 04.10.2012
Hey guy,s, Can you give me the easy toy edit codes? i will rep if you did
Re: easy toy edit -
edgargreat - 04.10.2012
if you want a easy toy editor try this. add this on your script.
Код:
CMD:attach(playerid, params[])
{
new string[128];
for(new x;x<MAX_PLAYER_ATTACHED_OBJECTS;x++)
{
if(IsPlayerAttachedObjectSlotUsed(playerid, x)) format(string, sizeof(string), "%s%d (Used)\n", string, x);
else format(string, sizeof(string), "%s%d\n", string, x);
}
ShowPlayerDialog(playerid, DIALOG_ATTACH_INDEX_SELECTION, DIALOG_STYLE_LIST, "{FF0000}Attachment Modification - Index Selection", string, "Select", "Cancel");
return 1;
}
Re: easy toy edit -
CmZxC - 04.10.2012
edgar, if you are going to give him your code, dont give him only a half of it..
he also need dialog response code, define for MAX_PLAYER_ATTACHED_OBJECT.
Re: easy toy edit -
manishmulchandani11 - 04.10.2012
Yea Edgar YOu have to give him define..