21.03.2011, 14:35
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?
SetPlayerInterior(playerid, 0);
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); } |
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); } |
new Text[120];
format(Text,120,"Interior: %d | Virtual World %d",GetPlayerInterior(playerid),GetPlayerVirtualWorld(playerid));
SendClientMessage(playerid,0xAFAFAFFF,Text);
SetPlayerInterior(playerid, 0);