Mystic-RP
#1

FIXED
Reply
#2

Do you have sscanf plugin in plugins folder and server.cfg ?
Reply
#3

oh fuck I forgot to add it on the server.cfg!!! maybe im getting tired as its 11pm here
Reply
#4

still not working.
it just prints out like this:
pawn Код:
* [the text I have inputted]
what to do?
Reply
#5

You forgot to get the name

pawn Код:
GetPlayerName(playerid, name, sizeof(name));
Reply
#6

pawn Код:
CMD:me(playerid, params[])
{
    new name[MAX_PLAYER_NAME], string[128], input;
    if(!params[0]) return SendClientMessage(playerid, COLOR_WHITE, "[SYNTAX]: /me [action]");
    GetPlayerName(playerid, name, 24);
    format(string, sizeof(string), "*%s %s", name, params);
    ProxDetector(20.0, playerid, string, COLOR_LIGHTBLUE, COLOR_LIGHTBLUE, COLOR_LIGHTBLUE, COLOR_LIGHTBLUE, COLOR_LIGHTBLUE);
    return 1;
}
You forgot GetPlayerName()
Reply
#7

yea, fixed with simple stock so I dont need to put multiple params.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)