SA-MP Forums Archive
[0.3a] Can't see anything when spawn - 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: [0.3a] Can't see anything when spawn (/showthread.php?tid=103756)



[0.3a] Can't see anything when spawn - juuleman - 21.10.2009

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



Re: [0.3a] Can't see anything when spawn - saiberfun - 21.10.2009

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


Re: [0.3a] Can't see anything when spawn - juuleman - 21.10.2009

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

(.PWN file)


Re: [0.3a] Can't see anything when spawn - saiberfun - 21.10.2009

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


Re: [0.3a] Can't see anything when spawn - juuleman - 21.10.2009

Can't, its too big for pastebin...


Re: [0.3a] Can't see anything when spawn - saiberfun - 21.10.2009

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


Re: [0.3a] Can't see anything when spawn - juuleman - 21.10.2009

OnPlayerSpawn:

http://pastebin.com/m754ceecf

This is the already 0.3 compiled version.


Re: [0.3a] Can't see anything when spawn - saiberfun - 21.10.2009

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?


Re: [0.3a] Can't see anything when spawn - Jakku - 21.10.2009

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


Re: [0.3a] Can't see anything when spawn - juuleman - 21.10.2009

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?