Help me
#3

All you can do for one is

pawn Код:
public OnPlayerSpawn(playerid)
{
    SetPVarInt(playerid, "Spawned", 1);
    return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
    SetPVarInt(playerid, "Spawned", 0);
    return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
    if(GetPVarInt(playerid, "Spawned") == 1)
    {
        SpawnPlayer(playerid);
    }
    return 1;
}
Allows them to pick a skin on the beginning only
Reply


Messages In This Thread
Help me - by eXtr1kE - 23.08.2010, 08:33
Re: Help me - by DarkClone - 23.08.2010, 08:36
Re: Help me - by Claude - 23.08.2010, 08:49
Re: Help me - by eXtr1kE - 23.08.2010, 08:52
Re: Help me - by Hiddos - 23.08.2010, 09:20
Re: Help me - by eXtr1kE - 23.08.2010, 14:12

Forum Jump:


Users browsing this thread: 2 Guest(s)