-
Posts
15 -
Joined
-
Last visited
Content Type
Profiles
Forums
News
Documentation
Posts posted by RevCrew20
-
-
-
am host si cand pun gm ul pe host imi da unknown gm si am modificat acolo la fs am pus .so.
ma poate ajuta cnv?
-
Mersi mult.
-
-
YCMD:setadmin(playerid, params[], help) {
new id, adminlevel, gString[120];
if(PlayerInfo[playerid][pAdmin] < 6)
return SCM(playerid, COLOR_WHITE, AdminOnly);if(sscanf(params, "ui", id, adminlevel))
return SCM(playerid, COLOR_GREY, "USAGE: {FFFFFF}/setadmin <playerid/name> <Admin Level>");if(!IsPlayerConnected(id) || id == INVALID_PLAYER_ID)
return SCM(playerid, COLOR_GREY, "Acel player nu este conectat.");if(adminlevel < 0 || adminlevel > 6)
return SCM(playerid, COLOR_GREY, "Invalid admin level. 0-6");if(PlayerInfo[id][pAdmin] > PlayerInfo[playerid][pAdmin])
return SCM(playerid, COLOR_GREY, "Nu poti folosi aceasta comanda pe acel player. Are admin level mai mare.");format(gString, 80, "Ai fost promovat la admin %d de %s", adminlevel, GetName(playerid));
SCM(id, COLOR_LIGHTBLUE, gString);format(gString, 100, "AdmCmd: %s i-a setat lui %s admin level %d.", GetName(playerid), GetName(id), adminlevel);
SendAdminHelperMessage(COLOR_LOGS, gString);if(adminlevel == 0) {
PlayerInfo[id][pAW] = 0;
UpdateVar(id, "AW", 0);
SpecFaction[id] = 0;
StopFly(playerid);
UsedFly[playerid] = 0;
SetPlayerHealthEx(playerid, 100);Iter_Remove(PlayerAdmins, id);
}Iter_Add(PlayerAdmins, id);
finishAchievement(id, 27);
PlayerInfo[id][pAdmin] = adminlevel;new gQuery[180];
if(adminlevel >= 1)
format(gQuery, sizeof(gQuery), "UPDATE users SET `Admin`='%d', `Security`='%s', `HelpedPlayers`='0' WHERE `ID`='%d'", PlayerInfo[id][pAdmin]/*, MD5_Hash(DEFAULT_PASSWORD)*/, PlayerInfo[id][pSQLID]);
else
UpdateVar(id, "Admin", PlayerInfo[id][pAdmin]);
mysql_tquery(SQL, gQuery, "", "");
SetPVarInt(id, "SecurityPlayer", 0);return true;
}si cred ca si la helper e la fel..
-
Am o problema in gamemode ul burned editat de cosmin47. Cei care au de la admin 6 in jos cand dau relog nu mai am adminul..
De ce?
Ma poate ajuta cineva va rog?
-
<?php
session_start();
define('panel',true);spl_autoload_register(function ($class) {
include 'inc/' . $class . '.class.php';
});Config::init()->getContent();
?>
NU GASESC CE AI ZIS TU
-
in ce folder mane
-
-
si unde trb sa inlocuiesc player cu playername? ce folder
-
am facut dar cand dau sa intru pe o pagina de la sv nu imi arata nimic, helpme
-
ai si panel?
-
Acum 14 ore, Lilasno a spus:
Cum imi dau admin ? Ca parola mea rcon este 1234 si cand dau /rcon login 1234 nu mere.
din baza de date
-
frate nu merge panel-ul, am sv cu host si am luat domeniu si webhost si nu merge panel-ul imi poti panel-ul de la gm, dar unu compatibil plz.
unknown gm
in Discuţii scripting
Posted
la pluginuri.. am gresit
plugins crashdetect.so sscanf.so mysql.so streamer.so Whirlpool.so