28.08.2017, 09:08
Cada vez que intento compilar el pawno deja de funcionar y quito este codigo y compila excelente y al ponerlo y compilar deja de funcionar pawno, me ayudan xfavor
PHP код:
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);
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;
}