10.02.2017, 13:38
Hello
I wanted to ask if there is a way, like When player connects it automatically types a command for him?
like when he connects, he don't need to type /login, just when he connects the server auto types /login for the guy
tried doing like this
I wanted to ask if there is a way, like When player connects it automatically types a command for him?
like when he connects, he don't need to type /login, just when he connects the server auto types /login for the guy
PHP код:
public OnPlayerConnect(playerid)
{
SetPlayerColor(playerid, 0xA9A9A9FF);
OnPlayerCommandText(playerid, "/login");
return 1;
}