04.10.2012, 08:52
Hey guy,s, Can you give me the easy toy edit codes? i will rep if you did
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;
}