[0.3a] Can't see anything when spawn
#1

Hey,

Im working to make my server 0.3a but i have a very annoying problem...

When i go in the server and /login i use to spawn at my house but now with 0.3a i spawn where i left the server (That i dont wanna) and where i spawn i cant even see anything only blue sky untill i do an admin cmd like /gotols....

Someone please help?
BTW: I'm using Pen1.

SancheZ
Reply
#2

Quote:
Originally Posted by [ECR
SancheZ ]
Hey,

Im working to make my server 0.3a but i have a very annoying problem...

When i go in the server and /login i use to spawn at my house but now with 0.3a i spawn where i left the server (That i dont wanna) and where i spawn i cant even see anything only blue sky untill i do an admin cmd like /gotols....

Someone please help?
BTW: I'm using Pen1.

SancheZ
erm u think we can guess ur code? :/
post a pastebin
so we can find a solution
Reply
#3

Here: http://www.4shared.com/file/14237689...013/penls.html

(.PWN file)
Reply
#4

Quote:
Originally Posted by [ECR
i wont download anything use a pastebin
Reply
#5

Can't, its too big for pastebin...
Reply
#6

Quote:
Originally Posted by [ECR
SancheZ ]
Can't, its too big for pastebin...
then just pastebin the onplayerspawn and if u kno that theres sumin else that could cause this that too
Reply
#7

OnPlayerSpawn:

http://pastebin.com/m754ceecf

This is the already 0.3 compiled version.
Reply
#8

Quote:
Originally Posted by [ECR
SancheZ ]
OnPlayerSpawn:

http://pastebin.com/m754ceecf

This is the already 0.3 compiled version.
ok what factions n stuff are u on?
Reply
#9

You have to use SetPlayerInterior when you spawn a player inside of a house
Reply
#10

How?

Im quite a nope so please tell me.

Edit: There is already an SetPlayer Interior:

Код:
if (gPlayerLogged[playerid] == 0)
		{
			gTeam[playerid] = 0;
			GameTextForPlayer(playerid, "~w~In order to play you need to log in to your account, type ~n~~g~/login (password)~w~ to log in", 20000, 3);
			//SetPlayerInterior(playerid,0);
			SetPlayerInterior(playerid,3);
			PlayerInfo[playerid][pInt] = 3;
			SetPlayerPos(playerid,198.5,162.5,1003.0);
			// airport
			PlayJailSound(1153 , 1154, 2000,264.395200, 77.564040, 1001.039000);
			gPlayerSpawned[playerid] = 1;
  		return 1;
What i need to do?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)