Help In $loc , $cash , $level . Thank You
#1

OnPlayerText.

If a player type any of them like $level then his wanted level should be shown and $cash his cash should be shown and $loc his location should be shown

Thank You!
Reply
#2

Use strfind.

https://sampwiki.blast.hk/wiki/Strfind
Reply
#3

Код:
    if(strfind("$level",text,true)!=-1) {
    	SendClientMessage( playerid, -1, "Your level...");
    	return 0;
    }
    if(strfind("$stats",text,true)!=-1) {
    	SendClientMessage( playerid, -1, "Your stats...");
    	return 0;
    }
Reply
#4

Hmmm. Thanks Guys!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)