06.10.2012, 21:16
I have an auction system, its nearly done just having trouble with something..
I have these:
CMD:
I cut the other 'listitem' out since they werent needed, I get no errors but I have no idea how I can find players names that have submitted then send it via SCM, I think I did some of it right
I have these:
Quote:
new ItemSubmitted[MAX_PLAYERS]; new ItemSubmittedName[MAX_PLAYERS][128]; |
Quote:
new string[128]; if(dialogid == 3613) { if(response) { if(listitem == 0) { foreach(Player, i) { if(ItemSubmitted[i] == 1) { // No idea what I can put here to find if people have submitted an item and then submit there name } format(string, sizeof(string), "%s is selling %s.", GetPlayerNameEx(i), ItemSubmittedName); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); } return 1; } } } |