Say command print chat & set_task
I know this is really easiy one but i cant code at all.
I have tryed different plugins but it only prints 1 time. The problem i found is that print action is forced all at once and taht makes that only print 1 time cause the actions is happening so fast. client_cmd(say lol) client_cmd(say lol) client_cmd(say lol) Like i sed it only prints 1 time because i think these 3 actions happens so fast. So i would need some say command that prints 4 times the solution is to solve it by setting set_task between prints. set_task(0.0) client_cmd(say lol) set_task(1.0) client_cmd(say lol) set_task(2.0) client_cmd(say lol) Reffered to this request. https://forums.alliedmods.net/showthread.php?t=270939 |
Re: Say command print chat & set_task
Use the for loop
I'm no pro, but this might help you... and remove the "set_task"s PHP Code:
|
Re: Say command print chat & set_task
Ok how to add print in the script u wrote?
client_cmd(id,"say_team lol") |
Re: Say command print chat & set_task
Quote:
Code:
client_print(id, print_chat, "[AMXX] Your Text Here."); |
Re: Say command print chat & set_task
Solved it: client_cmd(0, "say_team B B B;wait;say_team B B B;wait;say_team B B B")
|
Re: Say command print chat & set_task
Quote:
Quote:
The proper way would be to use set_task() with engclient_cmd() like so: PHP Code:
|
| All times are GMT -4. The time now is 22:12. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.