Re: New API and Syntax
lol
Thank you, BAILOPAN |
Re: New API and Syntax
Compile time error on this code
PHP Code:
PHP Code:
but PHP Code:
I know it a not a big issue but logically everything above should compile fine. |
Re: New API and Syntax
Are you sure you're using the latest snapshots of the 1.7 compiler? I remember there being some parsing issues re: methodmaps in the past, but it should all be working now.
|
Re: New API and Syntax
I didn't have the lasted version, I will check it out, thank you
EDIT: same issue expected a newline, but found } NEW: @warning: to people using VFormat in methods, the arguments position is +1 from what it visually look. @question: will that ever change or it will stay that way? I suppose it make sense since the first argument is hidden of the self object. NEW 2: @VoiDeD sorry to ask you again, in your example you call some functions with entity reference instead of index PHP Code:
|
Re: New API and Syntax
Question: How can a native get a function from its arguments now?
I'm mostly trying to do the private forwards shown in: https://wiki.alliedmods.net/Function...ivate_Forwards But doing "Function:GetNativeCell(1)" gives a warning now: ./scripting/multi1v1/natives.sp(229) : warning 237: coercing functions to and from primitives is unsupported and will be removed in the future Is there a safer way to do this now? |
Re: New API and Syntax
|
Re: New API and Syntax
Quote:
|
Re: New API and Syntax
What is garbage collection anyway? I tried to read on google but still can't understand at all....
|
Re: New API and Syntax
Quote:
|
Re: New API and Syntax
Quote:
|
All times are GMT -4. The time now is 23:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.