17.08.2009, 22:50
Well "Connected to Las Venturas Roleplay" appears normally just before the class selection screen appears. So I would do:
pawn Код:
//Near the top of your script
new ConMessage[200];
public OnPlayerConnect(playerid)
{
ConMessage[playerid]=1;
return 1;
}
public OnPlayerRequestClass(playerid,classid)
{
if((ConMessage[playerid]==1)&&(/*The part that checks if they are registered*/)){
SendClientMessage(playerid,0xFFFFFFAA,"SERVER: You may now login by using /login <password>");
ConMessage[playerid]=0;
}
return 1;
}