Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: Punjabi on August 13, 2008, 12:30:06 pm
-
Hi
Can anyone tell me how to create admin command in wwhich only admin will be shown not admin level.
Tell me if anyone know this ------------>plz reply ???
-
What script? Own, sasan, gus, winlord?
-
Wsv script(Windlord)
Plz help :'(
-
WSV has an admins command already D:, just remove the part that says "Level:" if it does
-
From where i can delete --level---
From where?
-
Change the admins command to this ;)
elseif (admin* iswm $3) {
var %a = 0
while (%a <= %maxplayers) {
if ($WSV.levels(%a) > 0) && ($WSV.loggedin(%a)) {
if (%b) var %b = %b , $WSV.nom(%a)
elseif (!%b) var %b = $WSV.nom(%a)
}
inc %a
}
if (%b) vcmp.say $1 > Admins Online: %b
else vcmp.say $1 > No Admins Are Currently Online
}
-
Thanks :D
-
Wind is it just be or will that return everyone level 0 and over?
-
That will return the admins online without their level tags.
-
Well I know that :D, I was more looking at:
if ($WSV.levels(%a) > 0)
-
Well I know that :D, I was more looking at:
if ($WSV.levels(%a) > 0)
I'm not sure the 0 will work well.
To be sure use:
if ($WSV.levels(%a) >= 1)