Making global chat allways online..
#1

Hello, I wanted to ask you for some help..
I want to make the "Global Chat" command to be allways togged on, Because
Every time you logged in you must /toggc to turn it on.
How can I set it ON all the time..?



Reply
#2

Under OnPlayerConnect, set the GlobalChat array to 1. It will set the GlobalChat ON for the player by default.
Reply
#3

@Lordzy - Hey, I cannot find the "OnPlayerConnect", Could you tell where's that?
Reply
#4

Quote:
Originally Posted by davidstyle1125
Посмотреть сообщение
@Lordzy - Hey, I cannot find the "OnPlayerConnect", Could you tell where's that?
OnPlayerConnect should be in your gamemode.
Reply
#5

Quote:
Originally Posted by davidstyle1125
Посмотреть сообщение
@Lordzy - Hey, I cannot find the "OnPlayerConnect", Could you tell where's that?
I assume you're not the author of that script, so you can try finding it using find feature (Ctrl + F). If it isn't there, declare it;

pawn Код:
public OnPlayerConnect(playerid)
{
    //codes
    return 1;
}
Reply
#6

Thanks, Solved.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)