Thread: acronym
View Single Post
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 12-21-2021 , 08:18   Re: acronym
Reply With Quote #27

Quote:
Originally Posted by iclassdon View Post
Super! one last thing. Space is needed between name and colon.

i.e.

Current = Player: Good Game !

Game Standard = Player : Good Game !

Edit: It's also doing matching inside already formed words. For example added "ns", "!x04Nice Shot!" We have a trigger called /guns it will replace it with /guNICE Shot! Any workaround for this?

Check the slash at the beginning of the sentence and ignore the acronym.

PHP Code:
if (!szText[0])
                return 
PLUGIN_CONTINUE


PHP Code:
if (!szText[0] || szText[0] == '/')
                return 
PLUGIN_CONTINUE
__________________


Quote:
Originally Posted by fysiks View Post
Please stop trying to help. You appear to just be posting random stuff. Wait until you actually understand more about AMX Mod X and how the game works.
https://iceeedr.com.br/
iceeedr is offline
Send a message via Skype™ to iceeedr