new in pawno, help
#8

You can use strcmp (called str(->ing)cmp(->comparision)). Take a look on the wiki for futher details : https://sampwiki.blast.hk/wiki/Strcmp
A basically example:
PHP Code:
if(strcmp("hey"string) == 0)
... 
If you want to compare 2 caracter, which is not the same thing, you need to compare the ASCII code of those 2 characters (All character there: http://www.ascii-code.com/).
Reply


Messages In This Thread
new in pawno, help - by fiha4155 - 16.06.2017, 02:33
Re: new in pawno, help - by Vince - 16.06.2017, 09:11
Re: new in pawno, help - by fiha4155 - 17.06.2017, 16:54
Re: new in pawno, help - by Vince - 17.06.2017, 18:29
Re: new in pawno, help - by DRIFT_HUNTER - 17.06.2017, 19:50
Re: new in pawno, help - by OneDay - 18.06.2017, 07:08
Re: new in pawno, help - by fiha4155 - 18.06.2017, 11:09
Re: new in pawno, help - by Dayrion - 18.06.2017, 11:14
Re: new in pawno, help - by fiha4155 - 18.06.2017, 11:26
Re: new in pawno, help - by DRIFT_HUNTER - 18.06.2017, 11:49
Re: new in pawno, help - by fiha4155 - 18.06.2017, 11:55
Re: new in pawno, help - by BigETI - 18.06.2017, 18:21

Forum Jump:


Users browsing this thread: 1 Guest(s)