16.01.2010, 13:17
how i can do that:
in Dialog?
Код:
if(strcmp(cmd, "/wl", true) == 0 || strcmp(cmd, "/weaponlist", true) == 0) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Weapon List"); for(new i = 0; i < MAX_SPAWNWEAPONS; i++) { format (str, sizeof(str), "%d. %s - $%d",i,weaponNames[spawnWeapons[i][0]],spawnWeapons[i][2]); SendClientMessage(playerid, COLOR_GREEN,str); } return 1; }