#4

If you mean you want different spawn points when the player joins, so that 2 players don't spawn at the same playce, you can use

pawn Код:
public OnPlayerConnect(playerid
{
          AddPlayerClass(skin, Float:x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo);
          AddPlayerClass(skin, Float:x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo);
          AddPlayerClass(skin, Float:x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo);
return 1;
}
Or when the player dies, and you want another spawnpoint for the dead:
pawn Код:
public OnPlayerSpawn(playerid)
{
       SetPlayerPos(playerid, Float:x, Float:y, Float:z);
       return 1;
}
Reply


Messages In This Thread
help - by LemonPunch - 24.10.2013, 09:22
Re: help - by StuartD - 24.10.2013, 09:25
Re: help - by SilentSoul - 24.10.2013, 09:26
Re: help - by NaClchemistryK - 24.10.2013, 10:05
Re: help - by LemonPunch - 24.10.2013, 10:06
Re: help - by PCPold - 24.10.2013, 10:07

Forum Jump:


Users browsing this thread: 1 Guest(s)