30.07.2011, 21:47
RCON Admin command
when user connects..
pawn Код:
if(strcmp(cmdtext,"/helpmsg",true) == 0)
{
if(!IsPlayerAdmin(playerid)) return 0;
SendClientMessageToAll(-1,"-- Server by samtey --");
SendClientMessageToAll(-1,"Type /help for list of commands !");
// etc etc...
return 1;
}
pawn Код:
public OnPlayerConnect(playerid)
{
SendClientMessage(playerid,-1,"-- Server by samtey --");
SendClientMessage(playerid,-1,"Type /help for list of commands !");
// etc etc...
return 1;
}