isnull
#3

Well, if you know how to use sscanf, I don't understand why you don't know how can we use isnull.
Anyway, let's take a simple example (including zcmd):
PHP код:
CMD:adminchat(playeridparams[])
{
    
// check if the player is admin or what ever
    
if(isnull(params))
        return 
SendClientMessage(playerid, -1"/a [text]");
    
// do stuff

Reply


Messages In This Thread
isnull - by Slavica - 06.01.2018, 17:31
Re: isnull - by RogueDrifter - 06.01.2018, 17:43
Re: isnull - by Dayrion - 06.01.2018, 18:12

Forum Jump:


Users browsing this thread: 1 Guest(s)