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

[+rep] commands do nothing

$
0
0
Hi, any command which is scripted that I do when tested in-game does literally nothing. If I type a non-existent command the server says SERVER: Unknown Command, but if typing one I have made it does nothing whatsoever.

Code:

CMD:me(playerid, params[])
{
        if(!LoggedIn[playerid])return true;
       
        if(isnull(params))return SendClientMessage(playerid, COLOR_WHITE, "[SERVER] USAGE: /me [action]");
       
        new string[128];
        format(string, sizeof(string), "* %s %s", NameRP(playerid), params);
        SendLocalMessage(playerid, COLOR_EMOTE, string);
        return true;
}

Here is an example, no compilation errors etc so I am confused.

Code:

#include <a_samp>
#include <zcmd>
#include <a_mysql>
#include <streamer>
#include <foreach>
#include <sscanf2>

got all plugins in the server cfg, what's up?

Viewing all articles
Browse latest Browse all 18226

Trending Articles



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