OnPlayerConnect doesn't send a message on the connect.
#1

I have problems with showing a message on the player connect.
pawn Код:
public OnPlayerConnect(playerid) {
SendClientMessage(playerid, yellow, "Welcome. To see the new commands, use /newcmds");
return 1;
}
The problem is, you don't see this message when you connect :/
Reply
#2

Quote:
Originally Posted by speedruntrainer
I have problems with showing a message on the player connect.
pawn Код:
public OnPlayerConnect(playerid) {
SendClientMessage(playerid, yellow, "Welcome. To see the new commands, use /newcmds");
return 1;
}
The problem is, you don't see this message when you connect :/
try this
pawn Код:
public OnPlayerConnect(playerid)
{
SendClientMessage(playerid, yellow, "Welcome. To see the new commands, use /newcmds");
}
return 1;
}
Reply
#3

Yeah, mega fail there, Captain.

There's no reason what you originally had shouldn't work, make sure you're running the right gamemode under server.cfg and that the gamemode you're currently looking at is in the gamemodes folder
Reply
#4

Oh ok, I'm scripting for a server, I don't have the whole source, just started a week. So it's over >.<
Btw, I'm admin lvl 10 on that server
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)