[help] spawn in certain area
#2

pawn Код:
public OnPlayerSpawn(playerid)
{
    if(InDM1[playerid] == 1)
    {
        new rand = random(sizeof(RandomSpawnsDM1));
        SetPlayerPos(playerid,RandomSpawnsDM1[rand][0],RandomSpawnsDM1[rand][1],RandomSpawnsDM1[rand][2]);
        SetPlayerFacingAngle(playerid,RandomSpawnsDM1[rand][3]);
        ResetPlayerWeapons(playerid);
        GivePlayerWeapon(playerid,RandomWeapons[rand],500);
    }
    return 1;
}
Reply


Messages In This Thread
[help] spawn in certain area - by mr.b - 31.07.2009, 16:49
Re: [help] spawn in certain area - by MadeMan - 31.07.2009, 17:19
Re: [help] spawn in certain area - by mr.b - 31.07.2009, 18:39

Forum Jump:


Users browsing this thread: 1 Guest(s)