SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 15/10/2018, 08:29 AM   #1
kullboys12
Little Clucker
 
Join Date: Oct 2018
Posts: 1
Reputation: 0
Default Please! need some help

hi , i want to if a player typed TEsT for exp its get this mssg:
[server] hi (exp)

i mean if he typed exacly what i want , so if he typed teSt or TesT show noting , it should detect capital words ! what exacly i say , TEsT ! how should i do that!?
Thanks.
kullboys12 is offline   Reply With Quote
Old 15/10/2018, 08:59 AM   #2
Y_Less
Beta Tester
 
Y_Less's Avatar
 
Join Date: Jun 2008
Location: 629 - git.io/Y
Posts: 15,241
Reputation: 3185
Default Re: Please! need some help

strcmp in OnPlayerText. It takes case in to account by default.
Y_Less is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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



All times are GMT. The time now is 07:30 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.