Raised This Month: $ Target: $400
 0% 

Cmd name


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ArchAngel_Antey
Junior Member
Join Date: Dec 2005
Old 01-09-2006 , 12:51   Cmd name
Reply With Quote #1

I want to clear effect of "Cmd name" command.... How can I do this? Function "client_command(id)" isn`t working for cmd name.... I tried to search here plugin that corrects this, but found nothing. Help please!

And another problem... I`m using this code:
Code:
set_hudmessage(255, 0, 0, -1.0, 0.3, 0, 6.0, 15)
show_hudmessage(id, "Here is the text")
This code was generated by AMXX-Studio v1.2 After all I see the message but it works only 1 (or maybe less) seconds... What is it?
ArchAngel_Antey is offline
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 01-09-2006 , 12:59  
Reply With Quote #2

Moved from "Support/Help" forum.
Brad is offline
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 01-09-2006 , 13:03  
Reply With Quote #3

i dunno if it would make a difference but probably it will, change last arg of set_hudmessage ("15") to "15.0"
[ --<-@ ] Black Rose is offline
Charr
Senior Member
Join Date: Jul 2005
Location: Long Island, New York, U
Old 01-09-2006 , 13:46  
Reply With Quote #4

For your first thing, do you mean "name" in the console?

And for the set_hudmessage, you nly supplied 8 arguments, while set_hudmessage uses 11.
Code:
set_hudmessage ( red=200, green=100, blue=0, Float:x=-1.0, Float:y=0.35, effects=0, Float:fxtime=6.0, Float:holdtime=12.0, Float:fadeintime=0.1, Float:fadeouttime=0.2, channel=4 )
If you dont put the last arguments in, they are assumed to be 0
Charr is offline
Send a message via AIM to Charr Send a message via MSN to Charr
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 01-09-2006 , 14:57  
Reply With Quote #5

Quote:
Originally Posted by Charr
For your first thing, do you mean "name" in the console?

And for the set_hudmessage, you nly supplied 8 arguments, while set_hudmessage uses 11.
Code:
set_hudmessage ( red=200, green=100, blue=0, Float:x=-1.0, Float:y=0.35, effects=0, Float:fxtime=6.0, Float:holdtime=12.0, Float:fadeintime=0.1, Float:fadeouttime=0.2, channel=4 )
If you dont put the last arguments in, they are assumed to be 0
No, they are assumed to be the defaults ( 0.1 , 0.2 , 4 )
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
Charr
Senior Member
Join Date: Jul 2005
Location: Long Island, New York, U
Old 01-09-2006 , 15:00  
Reply With Quote #6

..well, I tried
Charr is offline
Send a message via AIM to Charr Send a message via MSN to Charr
ArchAngel_Antey
Junior Member
Join Date: Dec 2005
Old 01-10-2006 , 16:40  
Reply With Quote #7

Quote:
Originally Posted by Charr
For your first thing, do you mean "name" in the console?
I mean, that if client types in the console 'cmd name "Admin-LOL"' admin, that starts server(No hlds, only standart create game.... ) will be renamed to "Admin-LOL"... Or this "bug" only in my CS??? Sorry if I said something wrong, I`m very bad in english

I tried to use "public client_command(id)", maybe I am doing something wrong??? I`m only beginner in Pawn-scripting.... This function works only if I type in console "+jump"(sample), but if I type "cmd name", it doesn`t execute....
ArchAngel_Antey is offline
ArchAngel_Antey
Junior Member
Join Date: Dec 2005
Old 01-10-2006 , 16:42  
Reply With Quote #8

Quote:
Originally Posted by Charr
For your first thing, do you mean "name" in the console?

And for the set_hudmessage, you nly supplied 8 arguments, while set_hudmessage uses 11.
Code:
set_hudmessage ( red=200, green=100, blue=0, Float:x=-1.0, Float:y=0.35, effects=0, Float:fxtime=6.0, Float:holdtime=12.0, Float:fadeintime=0.1, Float:fadeouttime=0.2, channel=4 )
If you dont put the last arguments in, they are assumed to be 0
I tried to use all 11 parameters and tried to add there random values and nothing helps...
ArchAngel_Antey 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 16:10.


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