pomoc oko spawna

Započeo | MARKO |, Avgust 03, 2010, 01:27:47 PRE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

promjenio sam spawn igraca. i sad kad se ubijem namjerno ili ne, server me spawna na default spawn mjesto. na ls aeru. znm zasto. zna li netko kako bi to mogao promjeniti?
ili kad kao lider organizacije udjem na server ne spawna me na spawn mjestu u org nego na aeru u ls. i izgubio mi se spawn. sad se spawnam u zraku i sam padam. hvala
Poslednja Izmena: Avgust 03, 2010, 02:15:09 PRE PODNE od filip_pnv

Eh, naÄ'eÅ¡ u modu
public SetPlayerSpawn(playerid)
Onda ispod toga naÄ'eÅ¡ gdje su ti ispisani svi spawnowi
else
    {
SetPlayerToTeamColor(playerid);
if(PlayerInfo[playerid][pOrigin] == 1)//Hrvatska
{
    SetPlayerPos(playerid,1271.7253,295.0884,20.6563);
SetPlayerFacingAngle(playerid, 132.0755);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
else if(PlayerInfo[playerid][pOrigin] == 2)//BiH
{
    SetPlayerPos(playerid,1271.7253,295.0884,20.6563);
SetPlayerFacingAngle(playerid, 132.0755);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
else if(PlayerInfo[playerid][pOrigin] == 3)//Srbija
{
    SetPlayerPos(playerid,1271.7253,295.0884,20.6563);
SetPlayerFacingAngle(playerid, 132.0755);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
else if(PlayerInfo[playerid][pOrigin] == 4)//Slovenija
{
    SetPlayerPos(playerid,1271.7253,295.0884,20.6563);
SetPlayerFacingAngle(playerid, 132.0755);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
else if(PlayerInfo[playerid][pOrigin] == 5)//Crna Gora
{
    SetPlayerPos(playerid,1271.7253,295.0884,20.6563);
SetPlayerFacingAngle(playerid, 132.0755);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
else if(PlayerInfo[playerid][pOrigin] == 6)//Makedonija
{
    SetPlayerPos(playerid,1271.7253,295.0884,20.6563);
SetPlayerFacingAngle(playerid, 132.0755);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}
else if(PlayerInfo[playerid][pOrigin] == 7)//Ostalo
{
    SetPlayerPos(playerid,1271.7253,295.0884,20.6563);
SetPlayerFacingAngle(playerid, 132.0755);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}

Tu si promijen is

rjesio sam. hvala. ali zasto sad kad poginem se onda spawnam na default spawn mjesto? na aeru u ls. nzm zast
Poslednja Izmena: Avgust 03, 2010, 15:07:44 POSLE PODNE od filip_pnv