Retrieving strings using fake natives.....[Solved]
I tried many ways of retrieving strings using dynamic natives but i failed this is the main plugin that i was using:
Code:
sub plugin looks like this i use the native to retrieve a persons name [Its just for testing purposes] Code:
Include file looks like this: PHP Code:
When i type test for checking i get this stupid run-time error: PHP Code:
So if please some one can help me then it would be great Thnx in advance.... |
Re: Retrieving strings using fake natives.....I need Urgent Help PLZ
First of all you need to read this: "[AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes)."
You are registering the native with style 1 but are actually using style 0. There is also an error in the third param of get_user_nam(), it can't be hardcoded to work correclty. |
Re: Retrieving strings using fake natives.....I need Urgent Help PLZ
Quote:
|
Re: Retrieving strings using fake natives.....I need Urgent Help PLZ
at top of plugin_natives()
PHP Code:
PHP Code:
|
Re: Retrieving strings using fake natives.....I need Urgent Help PLZ
Quote:
Use style 0. If you want to use style 1 then you can find information about it the tutorials section (or elsewhere). |
Re: Retrieving strings using fake natives.....I need Urgent Help PLZ
Try this :
Code:
#include <amxmodx> |
Re: Retrieving strings using fake natives.....I need Urgent Help PLZ
Quote:
if its possible then please tell me btw thnks for your code i will use it as a backup...:up: |
Re: Retrieving strings using fake natives.....I need Urgent Help PLZ
from kz-arg
PHP Code:
|
Re: Retrieving strings using fake natives.....I need Urgent Help PLZ
Problem solved thnx to conner, fysiks and every one who responded to my thread.....i will give you credits in my next version of Zombie Plague Advance
|
| All times are GMT -4. The time now is 07:04. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.