Raised This Month: $ Target: $400
 0% 

Moving ent


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
geertjan88
Member
Join Date: May 2006
Old 02-19-2007 , 20:22   Moving ent
Reply With Quote #1

I am trying to mave an ent but i don't seem to do it the good way.

Code:
/* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <amxmisc> #include <engine> #define PLUGIN "Test" #define VERSION "1.0" #define AUTHOR "Administrator" new Float:outside[3] = {-51.0, -72.0, -147.0} public plugin_init() {     register_plugin("Test", "1", "Administrator")         register_concmd("amx_testent","testent",ADMIN_IMMUNITY,"Test if an ent moves the right way") } public testent(id)` {     new playerammount     new testP     playerammount = get_maxplayers()     testP = 682 + playerammount         entity_set_origin(testP, outside)     client_print(id,print_chat,"[Amxx] Test worked")     return PLUGIN_HANDLED }

It does show [Amxx] Test worked. And the ent did move but i don't know where too. It is somewhere else then the coordinates i have given.
__________________
if i help? +karma!

Last edited by geertjan88; 02-19-2007 at 20:24. Reason: [code] > [small] : it is better
geertjan88 is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:35.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode