SendClientMessageToAdmins command
#9

Quote:
Originally Posted by PrivatioBoni
Посмотреть сообщение
There is no point using sscanf with one parameter folks.
Also, why do you two have 'parmas' instead of 'params'? That will cause problems.
It's true - using sscanf for a single string parameter is pointless and all you do is using 1 extra array. isnull is the best option but I'd recommend to declare the string after the isnull check.

The actual reason I'm posting at the moment is because of 'parmas'. I've seen that in other threads too and it's not going to cause any problem at all. You can use any name you want:
pawn Код:
CMD:test(pid, parameters[])
{
    return 1;
}
The above is correct!
Reply


Messages In This Thread
SendClientMessageToAdmins command - by Tadas - 16.04.2014, 08:53
Re: SendClientMessageToAdmins command - by Hanuman - 16.04.2014, 08:59
Re: SendClientMessageToAdmins command - by Tadas - 16.04.2014, 09:04
Re: SendClientMessageToAdmins command - by PrivatioBoni - 16.04.2014, 09:09
Re: SendClientMessageToAdmins command - by BroZeus - 16.04.2014, 09:09
Re: SendClientMessageToAdmins command - by Hanuman - 16.04.2014, 09:11
Re: SendClientMessageToAdmins command - by PrivatioBoni - 16.04.2014, 09:13
Re: SendClientMessageToAdmins command - by Tadas - 16.04.2014, 09:34
Re: SendClientMessageToAdmins command - by Konstantinos - 16.04.2014, 10:01
Re: SendClientMessageToAdmins command - by PrivatioBoni - 16.04.2014, 10:42

Forum Jump:


Users browsing this thread: 2 Guest(s)