Spawning in nothing
#1

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
Reply
#2

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;
}
Reply
#3

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

And i exlained.I written it like you did.
Reply
#4

bump
Reply
#5

bump
Reply
#6

The interior is probably wrong
Reply
#7

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

bump
Reply
#9

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

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);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)