SA-MP Forums

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

Thread Tools Display Modes
Old 15/10/2018, 08:29 AM   #1
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!?
kullboys12 is offline   Reply With Quote
Old 15/10/2018, 08:59 AM   #2
Beta Tester
Y_Less's Avatar
Join Date: Jun 2008
Location: 629 -
Posts: 15,518
Reputation: 3207
Default Re: Please! need some help

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

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 02:42 AM.

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