-
Notifications
You must be signed in to change notification settings - Fork 33
SetPlayerAdmin
iFarbod edited this page Jun 28, 2014
·
10 revisions
Sets the player's RCON admin.
Parameters:
- playerid : The Player to set his RCON Admin status.
- admin : Toggle the admin status. (true/false)
Example Usage :
// When you type /rconlogout, You will logout from RCON System.
CMD:rconlogout(playerid, params[])
{
if(!IsPlayerAdmin(playerid)) return 0; // Checking is player is already logged into RCON.
SetPlayerAdmin(playerid, false); // Log him out
return 1; // Returning 1 to process Command in zCMD. Avioding "SERVER: Unknown Command." Message.
}
- Home
-
Natives
- Execute
- File functions
- Directory functions
- Max player/npc change at runtime
- Filterscript functions
- Server rule modifications
- Server settings
- Player position sync bounds
- Modifying RCON commands
- Per AMX function calling
- Broadcasting console messages
- YSF Settings
- Nickname
- Classes
- Timers
- Per player functions
- Actors
- Scoreboard manipulation
- Pause functions
- Objects get - global
- Objects get - player
- Special for attached objects
- RakNet ban functions
- RakNet
- Exclusive RPC broadcast
- Vehicle functions
- Gangzones - Global
- Gangzones - Player
- Textdraws - Global
- Textdraws - Player
- 3DTexts - Global
- 3DTexts - Player
- Menu
- Pickups - Global
- Y_Less's model sizes inc
- Developer functions
- Formatting
- Callbacks
- Definitions
- Enumerators
- YSF.cfg