View Single Post
Zephyrus
Cool Pig B)
Join Date: Jun 2010
Location: Hungary
Old 07-13-2014 , 16:41   Re: New API and Syntax
Reply With Quote #8

Quote:
Originally Posted by Arkarr View Post
Totally not okay with that :
Code:
// Before:
public OnReceivedString(const String:name[], Float:fval);

// After:
public void OnReceivedString(const char[] name, float fval);
Why 'char' instend of String ?
because if its a string you shouldnt need to use [] in the first place
__________________
Taking private C++/PHP/SourcePawn requests, PM me.
Zephyrus is offline