Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: Cool on Oct 22, 2015, 10:08 AM

Title: rank
Post by: Cool on Oct 22, 2015, 10:08 AM
how i can set some commands for ranks my mean i want to set some cmds for rank pro  and pro rank players able to use i want give its to a rank not level
Thanks in advance
Title: Re: rank
Post by: SAzEe21 on Oct 22, 2015, 10:25 AM
What do you mean? I didn't get you?
Title: Re: rank
Post by: Cool on Oct 22, 2015, 10:31 AM
mery baap matlb ye hai k me chahta hoon k ye cmds sirf ek specific rank use karsky jaise rank ka nam hai pro  aur kuch aur commands armour sirf ek rank use kary aur koi use na karsky
Title: Re: rank
Post by: MacTavish on Oct 22, 2015, 10:48 AM
Just implement and rank system first then you can do like this in your specified cmd

if(cmd =="test")
{
if(rank(player) == "YourRank")
{
// your funny code here
}
else MessagePlayer("Poor Rank, stay away from this cmd",player);
}

Now i hope you know what to do.
Title: Re: rank
Post by: Cool on Oct 22, 2015, 10:52 AM
thanx i goted
EDIT : @Kusanagi  Works Perfect