17.04.2012, 21:31
Hello my names Mike
A.K.A SublimESmokeR420 - You can call me Sub, Smoke, Smoker, Sublime, or 420. What ever suites you.
I'm making my own AdminScript and i want to change the Levels of Admins that can use the commands.
For Example.: if(gPlayerInfo[playerid][PLAYER_LEVEL] <= 1) <-- This means that the Admin (Level of the Admin) can use this command. The " <= 1) " Means that a Level 1 Admin can use this.
And what i want to change is some of my commands are for RCON login ONLY. I want to change that.
But when I try to use it, i get A bunch of Errors. This is what a RCON login ONLY command looks like.
For Example:
dcmd_setscore(playerid, params[])
{
new amount;
new pName[MAX_PLAYER_NAME];
GetPlayerScore(playerid);
GetPlayerName(playerid, pName, sizeof(pName));
I want to make that command so that an Admin Level 1 can use it. But when i try to change it. It gives me Errors. This command by the way is ONLY for RCON admins.
I need HELP very BADLY.
You can get me on skype
Either one:
Mike Dunne
or
SublimESmokeR420SAMP
or just incase:
sublimesmoker420samp
.
~Mike
A.K.A SublimESmokeR420 - You can call me Sub, Smoke, Smoker, Sublime, or 420. What ever suites you.
I'm making my own AdminScript and i want to change the Levels of Admins that can use the commands.
For Example.: if(gPlayerInfo[playerid][PLAYER_LEVEL] <= 1) <-- This means that the Admin (Level of the Admin) can use this command. The " <= 1) " Means that a Level 1 Admin can use this.
And what i want to change is some of my commands are for RCON login ONLY. I want to change that.
But when I try to use it, i get A bunch of Errors. This is what a RCON login ONLY command looks like.
For Example:
dcmd_setscore(playerid, params[])
{
new amount;
new pName[MAX_PLAYER_NAME];
GetPlayerScore(playerid);
GetPlayerName(playerid, pName, sizeof(pName));
I want to make that command so that an Admin Level 1 can use it. But when i try to change it. It gives me Errors. This command by the way is ONLY for RCON admins.
I need HELP very BADLY.
You can get me on skype
Either one:
Mike Dunne
or
SublimESmokeR420SAMP
or just incase:
sublimesmoker420samp
.
~Mike
![Confused](images/smilies/confused.png)