spawn locations???(plz help)
#9

try to put this in your gamemode

Код:
public SetPlayerRandomSpawn(playerid)

{
  new rand;
  rand = random(sizeof(gRandomPlayerSpawns));
  SetPlayerPos(playerid, gRandomPlayerSpawns[rand][0], gRandomPlayerSpawns[rand][1], gRandomPlayerSpawns[rand][2]);

  return 1;

}
and this on top of your game mode

Код:
forward SetPlayerRandomSpawn(playerid);
i think this must be all i learn the Random Spawns from Lvdm gamemode its very helpful ^^
Reply


Messages In This Thread
spawn locations???(plz help) - by denbo1 - 20.07.2009, 19:43
Re: sawn locations???(plz help) - by James_Alex - 20.07.2009, 19:45
Re: sawn locations???(plz help) - by Geekzor - 20.07.2009, 19:47
Re: sawn locations???(plz help) - by denbo1 - 20.07.2009, 19:57
Re: sawn locations???(plz help) - by wilcock33 - 20.07.2009, 20:47
Re: spawn locations???(plz help) - by James_Alex - 20.07.2009, 20:50
Re: spawn locations???(plz help) - by wilcock33 - 20.07.2009, 20:52
Re: spawn locations???(plz help) - by denbo1 - 20.07.2009, 20:55
Re: spawn locations???(plz help) - by Geekzor - 20.07.2009, 21:08
Re: spawn locations???(plz help) - by denbo1 - 20.07.2009, 21:13

Forum Jump:


Users browsing this thread: 2 Guest(s)