AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   "rescuer" id (https://forums.alliedmods.net/showthread.php?t=20642)

commonbullet 11-12-2005 21:01

"rescuer" id
 
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.

XxAvalanchexX 11-12-2005 21:16

Look for a player's money to increase by $1000? I can't think of any times this would happen besides rescuing a hostage.

commonbullet 11-12-2005 21:18

it's a funny way to get that. :)

thank you.

Brad 11-12-2005 21:20

[useless remark] A drug sale could result in a profit of $1000 for a player. [/useless remark]

cybermind 11-12-2005 21:35

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.

Cheap_Suit 11-13-2005 02:33

http://forums.alliedmods.net/showthread.php?t=17974

commonbullet 11-13-2005 09:52

thanks a lot!

Also, this will avoid the drug sale special case inconvenience :D


All times are GMT -4. The time now is 23:37.

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