How can I do it ?
#1

Hello all,

Can I do if player wrote command in other language, that's replace the words to my language in letter of keyboard.
example:
Player do /SSsAdgh
In my language he do /דדדשגעי
I try do it and im stuck:
PHP код:
if(strlen(cmdtext) == A)return strlen(cmdtext) = ש 
Reply
#2

??
Reply
#3

Use strcmp
Reply
#4

can you give me example?
Reply
#5

pawn Код:
if(!strcmp(TEXT, "A") return "B" // You might use strfind if it's more then a word too
Reply
#6

sorry i am lil bit confused
Reply
#7

Quote:
Originally Posted by phiferindia
Посмотреть сообщение
sorry i am lil bit confused
That was if you say "A" in chat it will change it to "B".
Reply
#8

Don't working.....
Reply
#9

https://sampforum.blast.hk/showthread.php?tid=479169

This's a good plugin for whatever you're trying to do!

Other helpful topics:
https://sampforum.blast.hk/showthread.php?tid=170547
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)