Spawn Problems
#1

I'm using the PenLS Script as a base. But yet, On spawn, nothing appears other than lamposts. I can see the car's on the GPS, so i know i'm not in a different Vworld. Any suggestions?
Reply
#2

pawn Код:
SetPlayerInterior(playerid, 0);
Perhaps ?
Reply
#3

So, Your suggesting i change this?..

Quote:

public SetCamBack(playerid)
{
new Floatlocx,Floatlocy,Floatlocz;
GetPlayerPos(playerid, plocx, plocy, plocz);
SetPlayerPos(playerid, -1863.15, -21.6598, 1060.15); // Warp the player
SetPlayerInterior(playerid,14);
//SetPlayerPos(playerid, plocx, plocy, plocz); // Warp the player
//SetPlayerInterior(playerid, 0);
}

& Change it to this?

Quote:

public SetCamBack(playerid)
{
new Floatlocx,Floatlocy,Floatlocz;
GetPlayerPos(playerid, plocx, plocy, plocz);
SetPlayerPos(playerid, -1863.15, -21.6598, 1060.15); // Warp the player
SetPlayerInterior(playerid, 0);
//SetPlayerPos(playerid, plocx, plocy, plocz); // Warp the player
//SetPlayerInterior(playerid, 0);
}

Reply
#4

Debug your Interior and Virtualworld, if you are not in the right Virtualworld (Standart 0) or Interior (Standart 0) use SetPlayerVirtualWorld or SetPlayerInterior
pawn Код:
new Text[120];
format(Text,120,"Interior: %d | Virtual World %d",GetPlayerInterior(playerid),GetPlayerVirtualWorld(playerid));
SendClientMessage(playerid,0xAFAFAFFF,Text);


#edit: Jeah! Change it to your second Code!
Reply
#5

Are you teleporting from an interior ?
If so you need to set the interior back to:

Код:
SetPlayerInterior(playerid, 0);
Is that what you mean ?
Reply
#6

Well, I've editted what you said, and still, nothing. I've uploaded some screen's, hopefully this'll explain it abit better.

/imageshack/i/samp006px.png/
/imageshack/i/samp007bik.png/
/imageshack/i/samp008s.png/
/imageshack/i/samp009cl.png/
Reply
#7

Jeah! Use SetPlayerInterior(playerid,0); on the Player Spawn
Reply
#8

I'm literally, just wanting to Spawn @ Jefferson Motel. Outside, Not in the Interior.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)