[HELP]Weapon
#1

how i can do that:
Код:
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;
	}
in Dialog?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)