engine.inc problems
Several of the functions located in the engine.inc include file arent recognized when i use them. The .sma file complies without a problem but when it tries to load the plugin in game it says "plugin uses unknown function"
Some of the functions that dont seem to work for me are-- entity_set_origin entity_get_string is_valid_ent I have the file included in the .sma .... and I'm kinda stumped.. any help is appreciated |
And the Engine module IS enabled?
|
wow, um ok thanks.... kinda feel a little stupid now.. that was the problem.....
But on an unrelated note, is there a command to get the origin of an entity? I havent coded since regular amx and couldnt find a replacement for the get_entity_origin command. |
Code:
|
Using Engine Module:
Code:
Then you can do what you want with either Origin (Float vec or Int vec) Hope that helps! Edit: :P v3x you posted same time as me! :!: Edit2: :shock: Haha! We did it again! :D :P |
Looks like we were posting @ the same time, xero. :P
|
| All times are GMT -4. The time now is 16:49. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.