Spawn message?
#1

Hi,

Can someone please help me out, How do I create a message on spawn (After connection)?
Not when they respawn.

Thanks
Reply
#2

Bump... Anyone?
Reply
#3

Check it out:
pawn Код:
// at the top of your script
new bool:MsgSent[MAX_PLAYERS];

// inside OnPlayerConnect
MsgSent[playerid] = false;

// inside OnPlayerSpawn

if(!MsgSent[playerid])
{
    SendClientMessage(playerid,-1,"Some message");
    MsgSent[playerid] = true;
}
Reply
#4

Thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)