Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

Problem with /me

$
0
0
When i type it witout space, it appears normally, but when i type it witin space, it shows wrong.
https://imgur.com/a/8jKhG


Code:

if(!strcmp(cmdtext, "/me", true, 3))
    {
    if(IsPlayerConnected(playerid))
        {
        if(!cmdtext[3])return SendClientMessage(playerid, 0xFF0000FF, "USAGE: /me [action]");
        new str[128];
        GetPlayerName(playerid, str, sizeof(str));
        format(str, sizeof(str), "* %s %s", str, cmdtext[4]);
        SendClientMessageToAll(0xFFFF00AA, str);
        }
        return 1;
    }


Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>