[HELP] Spawn
#9

Yea. Do a code like this (just a simple example):

pawn Код:
public OnPlayerBuyHouse(playerid, House)
{
SetSpawnInfo(playerid, GetPlayerTeam(playerid), GetPlayerSkin(playerid), HousePos[House][x], HousePos[House][y], HousePos[House][z], HousePos[House][a], 0, 0, 0, 0, 0, 0);
return 1;
}
HousePos is an array, where you store the positions of the house and the angle, that the player should have when spawning at the house.

I hope you understand.
Reply


Messages In This Thread
[HELP] Spawn - by NotoriousMOB - 20.09.2010, 13:47
Re: [HELP] Spawn - by DeathOnaStick - 20.09.2010, 15:15
Re: [HELP] Spawn - by NotoriousMOB - 20.09.2010, 15:54
Re: [HELP] Spawn - by Mauzen - 20.09.2010, 15:59
Re: [HELP] Spawn - by DeathOnaStick - 20.09.2010, 15:59
Re: [HELP] Spawn - by NotoriousMOB - 20.09.2010, 16:13
Re: [HELP] Spawn - by DeathOnaStick - 20.09.2010, 16:21
Re: [HELP] Spawn - by NotoriousMOB - 20.09.2010, 16:34
Re: [HELP] Spawn - by DeathOnaStick - 20.09.2010, 16:53

Forum Jump:


Users browsing this thread: 5 Guest(s)