Raised This Month: $ Target: $400
 0% 

"rescuer" id


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
commonbullet
Veteran Member
Join Date: Oct 2005
Old 11-12-2005 , 21:01   "rescuer" id
Reply With Quote #1

how can I get the id of a player when he rescues a hostage?
it seems that "HostageK" don't provide such information.

thank you.
commonbullet is offline
Send a message via ICQ to commonbullet Send a message via MSN to commonbullet
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 11-12-2005 , 21:16  
Reply With Quote #2

Look for a player's money to increase by $1000? I can't think of any times this would happen besides rescuing a hostage.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
commonbullet
Veteran Member
Join Date: Oct 2005
Old 11-12-2005 , 21:18  
Reply With Quote #3

it's a funny way to get that.

thank you.
commonbullet is offline
Send a message via ICQ to commonbullet Send a message via MSN to commonbullet
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 11-12-2005 , 21:20  
Reply With Quote #4

[useless remark] A drug sale could result in a profit of $1000 for a player. [/useless remark]
Brad is offline
cybermind
Senior Member
Join Date: Oct 2004
Old 11-12-2005 , 21:35  
Reply With Quote #5

This information is provided in the logs with the triggers "Touched_A_Hostage" and "Rescued_A_Hostage".

Use register_logevent or plugin_log to get this info.
cybermind is offline
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 11-13-2005 , 02:33  
Reply With Quote #6

http://forums.alliedmods.net/showthread.php?t=17974
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.
Cheap_Suit is offline
commonbullet
Veteran Member
Join Date: Oct 2005
Old 11-13-2005 , 09:52  
Reply With Quote #7

thanks a lot!

Also, this will avoid the drug sale special case inconvenience
commonbullet is offline
Send a message via ICQ to commonbullet Send a message via MSN to commonbullet
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 23:37.


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