SA-MP Forums Archive
Spawning in nothing - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Spawning in nothing (/showthread.php?tid=112600)



Spawning in nothing - Naruto4 - 08.12.2009

my code is all but i spawn in some grey/black dimension.I use a costum made public spawn.

Код:
LV police HQ 	3 	288.745971,169.350997,1007.171875
i took this from : http://weedarr.wikidot.com/interior

and putted
Код:
SetPlayerInterior(playerid,3);
SetPlayerPos(playerid,sdadsaadsads);
but it spawns me in some shit


Re: Spawning in nothing - Pinehole - 08.12.2009

Explain it better?

and it's maybe cause your code is wrong.

Код:
SetPlayerInterior(playerid,3);
SetPlayerPos(playerid,sdadsaadsads);
replace the 'sdadsaadsads' with something like this example:
Код:
if(!strcmp(cmdtext,"/teleportme",true))
  {      
    SetPlayerPos(playerid,288.745971,169.350997,1007.171875);
    SetPlayerInterior(playerid,3);
    return 1;
  }
  return 0;
}



Re: Spawning in nothing - Naruto4 - 08.12.2009

OH MY GOOD. I aint retard to write "shahsaashhsa" i just done it fastly..

And i exlained.I written it like you did.


Re: Spawning in nothing - Naruto4 - 09.12.2009

bump


Re: Spawning in nothing - Naruto4 - 09.12.2009

bump


Re: Spawning in nothing - dice7 - 09.12.2009

The interior is probably wrong


Re: Spawning in nothing - Naruto4 - 09.12.2009

nah,i went in samp_debug and checked the interior + pos myself./interior + /save


Re: Spawning in nothing - Naruto4 - 10.12.2009

bump



Re: Spawning in nothing - Goobiiify - 10.12.2009

STOP BUMP, DO SOMETHING ABOUT IT!
Check again, Go in IRC, do something but don't BUMP!


Re: Spawning in nothing - jyrno42 - 10.12.2009

Have you added a player class? Without it you will spawn into "infinity".

pawn Код:
AddPlayerClass( 0, 288.745971, 169.350997, 1007.171875, 0.0, 0, 0, 0, 0, 0, 0);