19.11.2015, 21:16
How To Make My Attchments IN GAMEMODE SAVE ? HELP
CMDukapanel(playerid,params[])
{
new string14[128];
new dialog[500];
if(PlayerInfo[playerid][vip] < 1) return SendClientMessage(playerid, -1,"You must be VIP to use sukapanel");
for(new x;x<MAX_OSLOTS;x++)
{
if(IsPlayerAttachedObjectSlotUsed(playerid, x))
{ format(string14, sizeof(string14), ""COL_WHITE"Slot:%d :: "COL_GREEN"Used Slot\n", x); }
else format(string14, sizeof(string14), ""COL_WHITE"Slot:%d\n", x);
strcat(dialog,string14);
}
ShowPlayerDialog(playerid, DIALOG_ATTACH_INDEX_SELECTION, DIALOG_STYLE_LIST,"Player Objects/Attachment: (Select Slot)", dialog, "Select", "Close(X)");
return 1;
}
CMDukapanel(playerid,params[])
{
new string14[128];
new dialog[500];
if(PlayerInfo[playerid][vip] < 1) return SendClientMessage(playerid, -1,"You must be VIP to use sukapanel");
for(new x;x<MAX_OSLOTS;x++)
{
if(IsPlayerAttachedObjectSlotUsed(playerid, x))
{ format(string14, sizeof(string14), ""COL_WHITE"Slot:%d :: "COL_GREEN"Used Slot\n", x); }
else format(string14, sizeof(string14), ""COL_WHITE"Slot:%d\n", x);
strcat(dialog,string14);
}
ShowPlayerDialog(playerid, DIALOG_ATTACH_INDEX_SELECTION, DIALOG_STYLE_LIST,"Player Objects/Attachment: (Select Slot)", dialog, "Select", "Close(X)");
return 1;
}