[Include] OnPlayerSpawnEx (OPSex) - Make everything easy
#2

Or you can do this:

pawn Код:
new bool:g_FirstSpawn[MAX_PLAYERS];

public OnPlayerSpawn(playerid)
{
    if (!g_FirstSpawn[playerid])
    {
        SendClientMessage(playerid, -1, "You've just spawned for the first time!");
        g_FirstSpawn[playerid] = true;
    }
    giveplayermoney
    setplayerteam
    more code
    ...
}
Nice work I guess..
Reply


Messages In This Thread
OnPlayerSpawnEx (OPSex) - Make everything easy - by JaKe Elite - 15.10.2012, 10:37
Re: OnPlayerSpawnEx (OPSex) - Make everything easy - by Emmet_ - 15.10.2012, 10:41
Re: OnPlayerSpawnEx (OPSex) - Make everything easy - by JaKe Elite - 15.10.2012, 10:43
Re: OnPlayerSpawnEx (OPSex) - Make everything easy - by Emmet_ - 15.10.2012, 10:48
Re: OnPlayerSpawnEx (OPSex) - Make everything easy - by JaKe Elite - 15.10.2012, 10:53
Re: OnPlayerSpawnEx (OPSex) - Make everything easy - by JaKe Elite - 15.10.2012, 10:59
Re: OnPlayerSpawnEx (OPSex) - Make everything easy - by JaKe Elite - 15.10.2012, 11:26
Re: OnPlayerSpawnEx (OPSex) - Make everything easy - by Niko_boy - 15.10.2012, 13:51
Re: OnPlayerSpawnEx (OPSex) - Make everything easy - by fiki574 - 16.10.2012, 08:13
Re: OnPlayerSpawnEx (OPSex) - Make everything easy - by razvan20100 - 16.10.2012, 08:19
Re: OnPlayerSpawnEx (OPSex) - Make everything easy - by Lordzy - 16.10.2012, 11:26
Re: OnPlayerSpawnEx (OPSex) - Make everything easy - by HuSs3n - 16.10.2012, 21:10
Re: OnPlayerSpawnEx (OPSex) - Make everything easy - by JaKe Elite - 19.10.2012, 09:03
Re: OnPlayerSpawnEx (OPSex) - Make everything easy - by JaKe Elite - 19.10.2012, 09:28
Re: OnPlayerSpawnEx (OPSex) - Make everything easy - by RajatPawar - 19.10.2012, 11:53
Re: OnPlayerSpawnEx (OPSex) - Make everything easy - by Mafioso97 - 19.10.2012, 14:44
Re: OnPlayerSpawnEx (OPSex) - Make everything easy - by JaKe Elite - 20.10.2012, 00:52
Re: OnPlayerSpawnEx (OPSex) - Make everything easy - by Excips - 23.10.2012, 16:30
Re: OnPlayerSpawnEx (OPSex) - Make everything easy - by Skillet` - 23.10.2012, 16:48

Forum Jump:


Users browsing this thread: 3 Guest(s)