AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [Solved]bomb_planted (https://forums.alliedmods.net/showthread.php?t=113177)

ProIcons 12-24-2009 05:16

[Solved]bomb_planted
 
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..

ProIcons 12-24-2009 05:42

Re: bomb_planted
 
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

Arkshine 12-24-2009 05:48

Re: bomb_planted
 
Because id is not passed directly in a logevent.

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


All times are GMT -4. The time now is 04:12.

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