Jump to content

Tutorial...


Ph0eniX

Recommended Posts

Nume:WeAreAnonymus
Nume FS: level
Descriere:Vreau si eu un level ... levelul sa fie de rconi sa scrie asa WeAreAnonymus: (Rcon) [id]: ... ca sa nu mai scriu rcon login sa dau setlevel si sa raman cu level de rcon si daca am level de rcon sa imi mearga si comenzile de rconi
Poze(optional):Nu am.
Acesta nu este chiar un FS , este un fel de tutorial. Pentru inceput , comenzile de rcon de genul /setlevel /setvip le pui pentru admini eu prefer sa scrie Nume(RCON)(id): la admin lvl 11 , dar mai nou am facut sa scrie RCON doar cand te loghezi cu rcon , in fine. prima oara sa spunem ca ai comanda /setlevel , faci asa Comanda originala:
CMD:setlevel(playerid,params[])
{
if(IsPlayerAdmin(playerid)
{
etc etc...
}
}
o modifici ca fiind asa :
CMD:setlevel(palyerid,params[])
{
if(AccInfo(playerid)(level) > 10)
{
etc etc
}
}
Pui AccInfo , PlayerInfo depinde ce si cum ai in GM / FS. si la faza cu Nick: (RCON).. adaugi la public OnPlayerText(playerid, text[])
else if(AccInfo[playerid][Level] > 10)
{
format...ce ai tu "(RCON)(%d): %s",playerid,text);
}

sper ca  tiam fost de folos

PS: am pus numele Tutorial pentru ca nu stiam exact ce titlu sa pun :D

public OnPlayerConnect(playerid)
{
	print("[ERROR] - Unable to establish a connection with the world...");
	SendRconCommand("exit");
	return 1;
}

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.