diff
any difference b/w
PHP Code:
PHP Code:
PHP Code:
|
Re: diff
Using _: will make the compiler not give you warnings for not correctly tagging variables with the enum name or assigning values to the array that are not defined in the enum.
For this purpose, the enum is just a mechanism for sizing the array, not for storing data. PHP Code:
|
Re: diff
is this correct way?
PHP Code:
|
Re: diff
Did you compile that code?
|
Re: diff
A note on tags: there are 2 types of tags: weak and strong tags. A strong tag begins with a capital letter, a weak tag with a lowercase letter.
Consider the following code: PHP Code:
Now consider this code: PHP Code:
|
Re: diff
Quote:
Check this tutorial for more: https://forums.alliedmods.net/showthread.php?t=26634. |
Re: diff
PHP Code:
|
Re: diff
Quote:
|
Re: diff
You do it in a function(where it is needed). plugin_init is also a function.
|
| All times are GMT -4. The time now is 02:45. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.