SA-MP Forums Archive
Mystic-RP - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Mystic-RP (/showthread.php?tid=243990)



Mystic-RP - Max_Coldheart - 25.03.2011

FIXED


Re: Mystic-RP - MadeMan - 25.03.2011

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


Re: Mystic-RP - Max_Coldheart - 25.03.2011

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


Re: Mystic-RP - Max_Coldheart - 25.03.2011

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


Re: Mystic-RP - MadeMan - 25.03.2011

You forgot to get the name

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



Re: Mystic-RP - armyoftwo - 25.03.2011

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()


Re: Mystic-RP - Max_Coldheart - 25.03.2011

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