Raised This Month: $ Target: $400
 0% 

[Solved]bomb_planted


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ProIcons
Senior Member
Join Date: Jan 2009
Location: Greece - Salonica
Old 12-24-2009 , 05:16   [Solved]bomb_planted
Reply With Quote #1

public bomb_planted(planter)
{
new planteromenos[32]
get_user_name(planter,planteromenos,31);
client_print(0, print_chat, "[Gather] User: %s SET UP US", planteromenos)
return PLUGIN_CONTINUE
}

It doesn't working..
__________________
function rb return $regsubex($$1-,/(.)/g,$+($chr(2) $+ $chr(3),$r(2,15),$chr(2),\1))

Last edited by ProIcons; 12-24-2009 at 05:53. Reason: Solved
ProIcons is offline
ProIcons
Senior Member
Join Date: Jan 2009
Location: Greece - Salonica
Old 12-24-2009 , 05:42   Re: bomb_planted
Reply With Quote #2

register_logevent("BombPlant", 3, "2=Planted_The_Bomb");

public BombPlant(id)
{
new name[32]
get_user_name(id,name,31)
client_print(0,print_chat,"[Gather] O %s Ebale thn bomb",name)
}

This returns the SERVER NAME why?:S
__________________
function rb return $regsubex($$1-,/(.)/g,$+($chr(2) $+ $chr(3),$r(2,15),$chr(2),\1))
ProIcons is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 12-24-2009 , 05:48   Re: bomb_planted
Reply With Quote #3

Because id is not passed directly in a logevent.

http://forums.alliedmods.net/showthread.php?t=40164
__________________
Arkshine is offline
Reply


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


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