Raised This Month: $ Target: $400
 0% 

a event to catch if rocket is moving?!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 06-03-2009 , 09:48   a event to catch if rocket is moving?!
Reply With Quote #1

Hi, i'm trying to update vexd_rocket to amxx for my server, and that plugin use a task
PHP Code:
set_task(0.1"RocketThink"0""0"b"

so, is there a event for rocket think?

i mean, can i use FM_Think ?
__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-03-2009 , 09:56   Re: a event to catch if rocket is moving?!
Reply With Quote #2

Use register_think forward with the classname "vexd_rocket" + set the *_nextthink to 0.1
__________________
Arkshine is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 06-03-2009 , 10:03   Re: a event to catch if rocket is moving?!
Reply With Quote #3

thanks
__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
Reply



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 14:04.


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