JustVlad
-
Posts
3 -
Joined
-
Last visited
Content Type
Profiles
Forums
News
Documentation
Posts posted by JustVlad
-
-
Deci pentru inceput trebuie sa setezi variabila de nr maxim de factiuni pe x+1, adica daca x = numarul factiunilor actuale, tu in loc sa pui 16 la nr maxim de factiune, o sa pui 17 deoarece trebuie plusat numarul cu un numar.
-
Poti face si comanda de genul asta pentru ca este mai usoara..
CMD:cc(playerid, params[])
{
new string[128];
if(gPlayerLogged[playerid] == 0) return SCM(playerid, COLOR_LIGHTRED, "You need to login first!);
if(playerInfo[playerid][pAdmin] < 1) return 1;
if(PlayerInfo[playerid][pAdmin] >= 1)
{
SCM(playerid, COLOR_WHITE, "");
SCM(playerid, COLOR_WHITE, "");
SCM(playerid, COLOR_WHITE, "");
SCM(playerid, COLOR_WHITE, "");
SCM(playerid, COLOR_WHITE, "");
SCM(playerid, COLOR_WHITE, "");
SCM(playerid, COLOR_WHITE, "");
SCM(playerid, COLOR_WHITE, "");
SCM(playerid, COLOR_WHITE, "");
SCM(playerid, COLOR_WHITE, "");
SCM(playerid, COLOR_WHITE, "");
SCM(playerid, COLOR_WHITE, "");
SCM(playerid, COLOR_WHITE, "");
SCM(playerid, COLOR_WHITE, "");
SCM(playerid, COLOR_WHITE, "");
SCM(playerid, COLOR_WHITE, "");
format(string, sizeof(string), "%s has cleared the chat.", GetPlayerName(playerid));
}
return 1;
}
Aceasta comanda nu exista si e trecuta in pawno fara nici o eroare
in Ajutor Scripting
Posted
Comanda nu functioneaza deoarece ai pusa o restrictie de locatie, daca nu esti in punctul xyz comanda nu va functiona.