Agregar Familia y Facciones a GM "Grand Larceny"
#3

Tu dices querer esto?

Код:
new string[128];
format(string, sizeof(string), "Facciуn #1: {AE51F5}Federal Bureau of Investigation {FFFFFF}| Propietario: %s | Miembros Online: %d | Total Miembros: %d", variable1, variable2, variable3);
SendClientMessage(playerid, -1, string);
El comando seria asн mas o menos, debes colocar tus variables, tambiйn colocar el include sscanf2 y el zcmd

Код:
CMD:makeleader(playerid, params[])
{
	new id, faccion;
	if(sscanf(params, "dd", id, faccion)) return SendClientMessage(playerid, -1, "/makeleader [id] [facciуn]");
	if(faccion < 0 || faccion > 7) return SendClientMessage(playerid, -1, "Error: La facciуn ingresada no existe.");
	if(IsPlayerConnected(id)
	{
	    new string[128];
	    "VariableFaccion" = faccion;
	    format(string, sizeof(string), "El administrador %s te asigno lider de la facciуn #%d", VariableNick, faccion);
	    SendClientMessage(id, -1, string);
	}
	return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)