View Single Post
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen.
Old 07-13-2014 , 17:22   Re: New API and Syntax
Reply With Quote #13

@BAILOPAN
If I have understand correctly, this is wrong :
PHP Code:
public bool PrintMessageToAll(string message)
{
     
PrintToChatAll(message);
     
PrintToConsole(message);
     return 
true;

and this is correct ?
PHP Code:
public bool PrintMessageToAll(const char[] message)
{
     
PrintToChatAll(message); //But PrintToChatAll() only accept 'pawn string' so char should work as well without formating value ?
     
PrintToConsole(message); //same as PPrintToChatAll() ?
     
return true;

__________________
Want to check my plugins ?

Last edited by Arkarr; 07-13-2014 at 17:23.
Arkarr is offline