Question - OnPlayerSpawn
#1

Can it be interior: 1 at onplayerspawn or it has to be interior 0 ??because I put everthing and the interior dosent load!i need help in teamviewer ..no one can help me..i have this problem since last month..its a saving/loading position...
Reply
#2

Wherever you want to spawn you have to use the correct interior. Where's your character spawning? If it isn't inside an interior it should be 0.
Reply
#3

so look. I spawn in LSPD with interior 6!!!!!So after I go outside in interior 0 and if I die I spawn in pd and fall with interior 0!
Reply
#4

Show me your OnPlayerSpawn callback.
Reply
#5

il give teamviewer?
Reply
#6

I don't have teamviewer, just post your OnPlayerSpawn callback.
Reply
#7

EDIT!
Reply
#8

First of all, why is there a
Код:
SpawnPlayer(playerid);
inside OnPlayerSpawn? And as you can see your variable sets the
Код:
PlayerInfo[playerid][pInt]
to 0 when the player spawns which means that if your player is supposed to spawn inside the PD the interior won't load since your SetPlayerInterior functions sets your interior to 0.
Reply
#9

yes.i said above in EDIT!im doing tests..cause no one knows..
Reply
#10

I want to know one thing. Is the player only supposed to spawn inside the LSPD or are there any other places the player would spawn?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)