SA-MP Forums Archive
Help please, with /enter command. - 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: Help please, with /enter command. (/showthread.php?tid=196529)



Help please, with /enter command. - iGetty - 05.12.2010

When i type /enter to go into the PD I fall through the floor, and die? What is wrong?..


Re: Help please, with /enter command. - scripter1 - 05.12.2010

Maybe you set the wrong interior ID?


Re: Help please, with /enter command. - Ash. - 05.12.2010

Are you setting the corrent interior ID?

And, check your x, y, and z co-ordinates


Re: Help please, with /enter command. - hanzen - 05.12.2010

Post the code?

Probably something wrong with the interior or floats.


Re: Help please, with /enter command. - iGetty - 05.12.2010

I'm not sure, i need help with it, if any of you have MSN could you please add me? I need help, badly, Thankyou for your time.


Re: Help please, with /enter command. - Ash. - 05.12.2010

Quote:
Originally Posted by hanzen
Посмотреть сообщение
Post the code?

Probably something wrong with the interior or floats.
^^ - Im not on MSN at the moment, just post the code? Then more than 1 person can attempt to help you


Re: Help please, with /enter command. - iGetty - 05.12.2010

Quote:
Originally Posted by funky1234
Посмотреть сообщение
^^ - Im not on MSN at the moment, just post the code? Then more than 1 person can attempt to help you
I don't know where to find it :/ Its a downloaded Game mode, so ? :/


Re: Help please, with /enter command. - iGetty - 05.12.2010

Quote:
Originally Posted by funky1234
Посмотреть сообщение
^^ - Im not on MSN at the moment, just post the code? Then more than 1 person can attempt to help you
Код:
else if (PlayerInfo[playerid][pMember] == 7)//Police Force spawn
	{
	    SetPlayerToTeamColor(playerid);
		rand = random(sizeof(gCopPlayerSpawns));
		DOO_SetPlayerPos(playerid, gCopPlayerSpawns[rand][0], gCopPlayerSpawns[rand][1], gCopPlayerSpawns[rand][2]); // Warp the player
		SetPlayerFacingAngle(playerid, 270.0);
		SetPlayerInterior(playerid,0);
		PlayerInfo[playerid][pInt] = 0;
		return 1;
I have that, but i really don't think thats it, Please help?
Otherwise nothing else for /enter or enter is found.. to do with the pd.


Re: Help please, with /enter command. - Ash. - 05.12.2010

Quote:
Originally Posted by getty154
Посмотреть сообщение
Код:
else if (PlayerInfo[playerid][pMember] == 7)//Police Force spawn
	{
	    SetPlayerToTeamColor(playerid);
		rand = random(sizeof(gCopPlayerSpawns));
		DOO_SetPlayerPos(playerid, gCopPlayerSpawns[rand][0], gCopPlayerSpawns[rand][1], gCopPlayerSpawns[rand][2]); // Warp the player
		SetPlayerFacingAngle(playerid, 270.0);
		SetPlayerInterior(playerid,0);
		PlayerInfo[playerid][pInt] = 0;
		return 1;
I have that, but i really don't think thats it, Please help?
Otherwise nothing else for /enter or enter is found.. to do with the pd.
Thats wierd - just as an idea, go in game, and teleport to the "PD" - then quickly type /save and /interior - It will then save your current position to savedpositions.txt in your GTA User Files + show you the interior, then compare that to the interior link that the user above this post posted...


Re: Help please, with /enter command. - iGetty - 05.12.2010

Quote:
Originally Posted by funky1234
Посмотреть сообщение
Thats wierd - just as an idea, go in game, and teleport to the "PD" - then quickly type /save and /interior - It will then save your current position to savedpositions.txt in your GTA User Files + show you the interior, then compare that to the interior link that the user above this post posted...
Okay, got the interior

Interior : 10
Position:
//
addplayerclass(21,223.1871,97.6708,1003.9141,269.8 191,0,0,0,0,0,0); //

What now?