ClientMessage only once
#9

Do it like this:

pawn Код:
#define GREEN   0x0000FFFF

OnPlayerSpawn(playerid)
{
    switch(GetPVarInt(playerid, "IsSpawned"))
    case 0:
    {
        SendClientMessage(playerid, GREEN, You have been succesfully spawned.);
        SetPVarInt(playerid, "IsSpawned", 1);
    }
    return 1;
}
Reply


Messages In This Thread
ClientMessage only once - by BlackWolf120 - 17.12.2010, 19:41
Re: ClientMessage only once - by Biesmen - 17.12.2010, 19:42
Re: ClientMessage only once - by BlackWolf120 - 17.12.2010, 19:49
Re: ClientMessage only once - by Biesmen - 17.12.2010, 19:51
Re: ClientMessage only once - by BlackWolf120 - 17.12.2010, 19:53
Re: ClientMessage only once - by WillyP - 17.12.2010, 19:53
Re: ClientMessage only once - by BlackWolf120 - 17.12.2010, 19:56
Re: ClientMessage only once - by Biesmen - 17.12.2010, 20:02
AW: ClientMessage only once - by BigETI - 19.12.2010, 01:21

Forum Jump:


Users browsing this thread: 1 Guest(s)