SA-MP Forums Archive
[HELP] OOC chat - 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: [HELP] OOC chat (/showthread.php?tid=178499)



[HELP] OOC chat - NotoriousMOB - 22.09.2010

To remove the OOC chat
and just have the (Realchat)

what do i have to remove here?
or edit
You can see codes here but im sure you know:

Realchat
http://pastebin.com/PsR2DWPi

OOC
http://pastebin.com/KncNNizN

not edit, just help me out, maybe i got this wrong.
hope someone can help

thanks.


Re: [HELP] OOC chat - Scenario - 22.09.2010

lmao

pawn Код:
public OnPlayerText(playerid, text[])
{
    return 1;
}



Re: [HELP] OOC chat - NotoriousMOB - 22.09.2010

Sorry
but shit's confusing.
not always easy in the start im sure you know that. ^^


Re: [HELP] OOC chat - NotoriousMOB - 22.09.2010

Thanks


Re: [HELP] OOC chat - Scenario - 22.09.2010

I meant for you to look there, as it's where you will find what you need. Since I do not know your code, thats basically the best I could do. Good luck!

1. This forum requires that you wait 120 seconds between posts. Please try again in 41 seconds. - I'M GOING TO BLOW YOU UP, BITCH!


Re: [HELP] OOC chat - NotoriousMOB - 22.09.2010

Код:
public OnPlayerText(playerid, text[])
{
    new giver[MAX_PLAYER_NAME];
    new sendername[MAX_PLAYER_NAME];
    new giveplayer[MAX_PLAYER_NAME];
    new tmp[256];
    new string[256];
    new giveplayerid;
    if(PlayerInfo[playerid][pMuted] == 1)
    {
        SendClientMessage(playerid, TEAM_CYAN_COLOR, "You cannot speak, you have been silenced");
        return 0;
 }
Just remove the silenced thing and then delete OOC ?
im wrong here ain't i.. :/


Re: [HELP] OOC chat - Scenario - 22.09.2010

You are wrong, yes. That is checking if the player was muted by an administrator and if they are, it sends them the message; "You cannot speak, you have been silenced". I take it you are using "Raven's Role Play"?


Re: [HELP] OOC chat - NotoriousMOB - 22.09.2010

im using GTARP


Re: [HELP] OOC chat - NotoriousMOB - 22.09.2010

https://sampforum.blast.hk/showthread.php?tid=113124


Re: [HELP] OOC chat - NotoriousMOB - 22.09.2010

Can someone help.