Ayuda con FS de propiedades
#4

Код:
	if(strcmp(cmd, "/propiedades", true) == 0) {
		SendClientMessage(playerid, COLOR_GREEN, "Lista de las propiedades 1:");
		for(new i = 0; i < 8; i++) {
			if(propertyOwner[i] < 999)
			{
				GetPlayerName(propertyOwner[i], giveplayer, sizeof(giveplayer));
				format(string, sizeof(string), "%d. %s - DUEСO: %s", i, propertyNames[i], giveplayer);
				SendClientMessage(playerid, COLOR_YELLOW, string);
			}
			else
			{
				format(string, sizeof(string), "%d. %s - Sin dueсo.", i, propertyNames[i]);
				SendClientMessage(playerid, COLOR_YELLOW, string);
			}

		}

		return 1;
	}

	if(strcmp(cmd, "/propiedades2", true) == 0) {
		SendClientMessage(playerid, COLOR_GREEN, "Lista de las propiedades 2:");
		for(new i = 9; i < 18; i++) {
			if(propertyOwner[i] < 999) {
				GetPlayerName(propertyOwner[i], giveplayer, sizeof(giveplayer));
				format(string, sizeof(string), "%d. %s - DUEСO: %s", i, propertyNames[i], giveplayer);
			} else
				format(string, sizeof(string), "%d. %s - Sin dueсo.", i, propertyNames[i]);

			SendClientMessage(playerid, COLOR_YELLOW, string);
		}

		return 1;
	}
Reply


Messages In This Thread
Ayuda con FS de propiedades - by Hernaner28 - 09.06.2010, 01:42
Re: Ayuda con FS de propiedades - by TheChaoz - 09.06.2010, 02:12
Re: Ayuda con FS de propiedades - by Hernaner28 - 09.06.2010, 17:13
Re: Ayuda con FS de propiedades - by Hernaner28 - 09.06.2010, 17:46

Forum Jump:


Users browsing this thread: 1 Guest(s)