SA-MP Forums Archive
YCMD? - 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: YCMD? (/showthread.php?tid=630415)



YCMD? - venomlivno8 - 13.03.2017

Well, I was reading topic about YCMD, but it isn't explained the best..

Like it says you don't have to do if(isAdmin(playerid)) since it has it's own permissions. how do I make those permissions?


Re: YCMD? - AlexPalermitano97 - 14.03.2017

if(IsPlayerAdmin(playerid))
{
\\
}
else
{
SendClientMessage(playerid, - 1, "you are not login rcon password") ;
}


Re: YCMD? - Flamehaze7 - 14.03.2017

Quote:
Originally Posted by AlexPalermitano97
Посмотреть сообщение
if(IsPlayerAdmin(playerid))
{
\\
}
else
{
SendClientMessage(playerid, - 1, "you are not login rcon password") ;
}
What? This is not what he asked.

Here's a good topic about groups and how to set them so you can create your own groups: https://sampforum.blast.hk/showthread.php?tid=570936


Re: YCMD? - DRIFT_HUNTER - 14.03.2017

What dont you understand? There is Permissions part included.
You create a group, and then you add commands to it.

Anyway, you can always open YSI include files, there is documentation for every function.


Re: YCMD? - AlexPalermitano97 - 14.03.2017

Ah, I got it wrong, sorry