ifplayername - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: ifplayername (
/showthread.php?tid=501082)
ifplayername -
RazSofer - 16.03.2014
Hi, i wanna do that if admin or a vip or player enters to the server it says something like:
Quote:
V.I.P is in the server! show respect 
|
Or
Quote:
Admin is in the server! no cheats allow now :@
|
Or
Quote:
Gay Roy(My Friend haha) Is Here
|
Re: ifplayername -
KingyKings - 16.03.2014
It will depend on what admin script you are using if you are using your own..
You can simply use something like
Код:
if(adminlevel => 1)
{
SendClientMessageToAll( 0x6495EDAA, "An admin has connected to the server!");
return 1;
}
Re: ifplayername -
RazSofer - 17.03.2014
Quote:
Originally Posted by KingyKings
It will depend on what admin script you are using if you are using your own..
You can simply use something like
Код:
if(adminlevel => 1)
{
SendClientMessageToAll( 0x6495EDAA, "An admin has connected to the server!");
return 1;
}
|
Thanks Dude! works great with matching to my amod