Help with SetSpawnInfo
#5

OnPlayerRequestSpawn add this:

pawn Код:
if(gPlayerLogged[playerid] == 1)
            {
        return 1;
    }
    else
    {
        SendClientMessage(playerid, COLOR_YELLOW, "ERROR: You can't spawn,maybe you arent registered or logged in.Use /register or /login");
        ForceClassSelection(playerid);
        return 0;
    }
}
Then add your normal weapons in OnPlayerSpawn.
Reply


Messages In This Thread
Help with SetSpawnInfo - by matute - 19.12.2010, 19:56
Re: Help with SetSpawnInfo - by matute - 19.12.2010, 21:05
Re: Help with SetSpawnInfo - by Face9000 - 19.12.2010, 21:08
Re: Help with SetSpawnInfo - by matute - 19.12.2010, 21:11
Re: Help with SetSpawnInfo - by Face9000 - 19.12.2010, 21:20
Re: Help with SetSpawnInfo - by matute - 19.12.2010, 21:25
Re: Help with SetSpawnInfo - by Face9000 - 19.12.2010, 21:29

Forum Jump:


Users browsing this thread: 1 Guest(s)