Raised This Month: $ Target: $400
 0% 

Solved Chat loop


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Str4x3D1x
Member
Join Date: Feb 2014
Old 05-24-2017 , 12:28   Chat loop
Reply With Quote #1

Hi!
I'm having problem with my code, it's about VIP Prefix. I want that when ever VIP player sends message with prefix on (you can turn it on/off in menu for vips but that doesn't matter now) if he's alive, alive players see it, if he's dead, dead players see it if he sends in say_team only his team sees it. Like normal chat.

I tried something like this but it won't work and will crash my game with error

PHP Code:
MSG_ONE or MSG_ONE_UNRELIABLE with no target entity
Also i am curious if my loop is good ?

Here's code what i've tried.

Spoiler
__________________
First you learn to read. Then you read to learn.

Last edited by Str4x3D1x; 05-25-2017 at 07:02.
Str4x3D1x is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 05-24-2017 , 13:34   Re: Chat loop
Reply With Quote #2

This code is not going to compile. Post the actual code.
__________________

Last edited by HamletEagle; 05-24-2017 at 13:35.
HamletEagle is offline
Str4x3D1x
Member
Join Date: Feb 2014
Old 05-24-2017 , 13:37   Re: Chat loop
Reply With Quote #3

Nvm, solved.
__________________
First you learn to read. Then you read to learn.

Last edited by Str4x3D1x; 05-25-2017 at 07:01.
Str4x3D1x 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 01:13.


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