Raised This Month: $ Target: $400
 0% 

Error, trying to Had a Hud Event...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CoPyRigHt *Qc
Junior Member
Join Date: May 2004
Location: Canada
Old 05-31-2004 , 20:31   Error, trying to Had a Hud Event...
Reply With Quote #1

Hi guys, I used the plugin release by JuMbObRiAn for AMX then just replace the include and I want to had a hud say like miscstat when the player will say the word...

The plugin works fine, but nothing about what I had.. I'm a noob about scripting, but want to learn...

This is the script:
Code:
#include <amxmodx> new phrase[8][] = { "hax", "haks", "h4x0r", "hack", "h4x", "tricheur", "wallhack", "aimbot"} new g_sayhudevent[7][] = {   "%s est un noob qui chiale pour rien",   "On dirait que %s ne comprends pas! Y'en a qui sont bons!",   "* Desole tout le monde, %s est dans ses SPM *",   "C***k que %s suce aujourd'hui^nMais y dit que les autres cheat",   "Ma grand-mere joue mieux que %s en chaise roulante",   "Y'en a qui sont meilleurs que d'autres... hein s%?!?",   "%s pense qu'il vaut mieux se taire a l'avenir..." } public say_event(id) {     new sid[10]     num_to_str(id,sid,10)     new said[192]     read_args(said,191)           for(new i = 0 ;i < 8; i += 1)         if(containi(said,phrase[i]) != -1)             set_task(1.0,"client",0,sid,10) } public client(sid[]) {     new id = str_to_num(sid)     engclient_cmd(id,"say", "]x[ Je suis un noob qui chiale pour rien ]x[") } public say_hudevent(sid[]) {     new id = str_to_num(sid)     new name[32]     get_user_name(id,name,31)     set_hudmessage(255, 0, 100, 0.05, 0.65, 2, 0.02, 6.0, 0.01, 0.1, 2)     show_hudmessage(0,g_sayhudevent[id],name) } public plugin_init() {     register_plugin("Say Hax","0.2","JuMbObRiAn")     register_clcmd("say","say_event")     register_event("SayHudMsg","say_hudevent","a")     return PLUGIN_CONTINUE }

If anybody have any idea, that woulb be great...
__________________
All rights reserved (c) 2004-2005
* Translate plugin in french *
CoPyRigHt *Qc is offline
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:47.


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