help me pls
#1

when im exiting /exit from lspd hq then it falling me from sky and it says i left business
Reply
#2

It might be scripted like that.
Reply
#3

how can i fix it ?
Reply
#4

Quote:
Originally Posted by t-wstriker
View Post
how can i fix it ?
The Coords of your DD(Dynamic Door) exit coords isn't set correctly,set it correctly so you won't fall of from the sky.
Reply
#5

cant understand can u explain it pls
Reply
#6

Post us the /exit command
Reply
#7

Code:
if(strcmp(cmd, "/exit", true) == 0)
	{
	    if(IsPlayerConnected(playerid))
		{
		    if(PlayerInfo[playerid][pLocal] != 999) //in house
		    {
				if(IsAtHouseExit(playerid))
				{
				    if(PlayerInfo[playerid][pMask] == 1) { sendername = "Stranger"; }
					format(string, sizeof(string), "* %s has left the house.", sendername);
					ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
			    	SetPlayerVirtualWorld(playerid, 0);
					SetPlayerInterior(playerid,0);
					SetPlayerPos(playerid,PlayerInfo[playerid][pHouseExitX],PlayerInfo[playerid][pHouseExitY],PlayerInfo[playerid][pHouseExitZ]);
					SetPlayerFacingAngle(playerid, PlayerInfo[playerid][pHouseExitR]-180);
					SetCameraBehindPlayer(playerid);
					PlayerInfo[playerid][pInt] = 0;
					PlayerInfo[playerid][pVirtualWorld] = 0;
					PlayerInfo[playerid][pLocal] = 999;
			     	return 1;
		        }
		    }
		    if(PlayerInfo[playerid][pInBiz] != 255) //in a biz
		    {
		    	if(PlayerInfo[playerid][pMask] == 1) { sendername = "Stranger"; }
				format(string, sizeof(string), "* %s has left the business.", sendername);
				ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
   				SetPlayerVirtualWorld(playerid, 0);
				SetPlayerInterior(playerid,0);
				SetPlayerPos(playerid,PlayerInfo[playerid][pHouseExitX],PlayerInfo[playerid][pHouseExitY],PlayerInfo[playerid][pHouseExitZ]);
				SetPlayerFacingAngle(playerid, PlayerInfo[playerid][pHouseExitR]-180);
				SetCameraBehindPlayer(playerid);
				PlayerInfo[playerid][pInt] = 0;
				PlayerInfo[playerid][pVirtualWorld] = 0;
				PlayerInfo[playerid][pLocal] = 999;
				PlayerInfo[playerid][pInBiz] = 255;
   				return 1;
		    }
Reply
#8

Well, the coordinates are defined in an array it seems. Try to find a command (or make one) that can 'teleport' the exit position of the business (in this case, the LSPD HQ).
By the way, that gamemode you sent ('least I thought it was you who'd send it, on ******** and so), I found that bug and I started to remove it
Reply
#9

you need to change the coordinates use ****** and get in the interior also i would use dynamic systems are the best and easy to place
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)