[Help] /Command [ID]
#1

Does somebody have /command [ID] For me?
with
Код:
//function
in it.
So i know where 2 put my function
Can this be in it?
Код:
if(adminlevel[playerid] == 5
And if he isnt admin:
Код:
SendClientMessage(playerid, COLOR_RED, "You need to be admin level 5 to use this command.");
To set rank to vip:
Код:
SetPlayerRank(playerid, 1);
Reply
#2

if(IsPlayerAdmin(playerid))
{
//function
}
else
{
SendClientMessage(playerid,COLOR_RED,"Your not a admin!!");
}
return 1;}

There ya go.
Reply
#3

Quote:
Originally Posted by [N
Dakota ]
if(IsPlayerAdmin(playerid))
{
//function
}
else
{
SendClientMessage(playerid,COLOR_RED,"Your not a admin!!");
}
return 1;}

There ya go.
Thats isnt what i mean.
Reply
#4

Explain then.
Reply
#5

Please Elabertae
Reply
#6

I mean a command with the above thing's.
That if you type the command: /setvip [ID] he gets vip with setplayerrank as above.
if he isnt admin, he get that message
Reply
#7

You would have to make that into your Admin system/ Rank system.


It would basicly be the code i posted, but with your VIP functions in it.
Reply
#8

Quote:
Originally Posted by [N
Dakota ]
You would have to make that into your Admin system/ Rank system.


It would basicly be the code i posted, but with your VIP functions in it.
With the code from u, cant i do even a command.
There isnt a [ID] thingie
Reply
#9

That is part of the function you have to add from you admin/rank sys.

Reply
#10

Quote:
Originally Posted by [N
Dakota ]
That is part of the function you have to add from you admin/rank sys.

Yeah dude i know.
But not what i want.
Somebody with a code here?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)