Quick interior help, thanks. ((Urgent))
#1

hey, im scripting a faction and all is going smooth, but since im new to scripting, i cant work out where to copy and paste the certain stuff. Heres what i wish you guys to do

Interior Cords = 2350.339843,-1181.649902,1027.976562
Player the person should be standing when they get tele'd ((PlayerToPointStripped) = 109,2808.0303,-1175.9161,25.3815,179.0963,0,0,0,0,0,0

i wish you guys to add these cords into my current one, ((Current one fails)), Thanks

Код:
	}
	else if(PlayerToPointStripped(1, playerid,1123.0614,-2037.0490,69.8937, cx,cy,cz))
	{//MS-13 enter
		GameTextForPlayer(playerid, "~w~MS 13 ~n~gang hq", 5000, 1);
		SetPlayerInterior(playerid, 1);
		SetPlayerPos(playerid,2173.3374,1617.3943,999.9766); // Ms-13 Gang
		PlayerInfo[playerid][pInt] = 1;
	}
Reply
#2

Need help.
Reply
#3

pawn Код:
}
    else if(PlayerToPointStripped(1, playerid,1123.0614,-2037.0490,69.8937, cx,cy,cz))
    {//MS-13 enter
        GameTextForPlayer(playerid, "~w~MS 13 ~n~gang hq", 5000, 1);
        SetPlayerInterior(playerid, 1);
        SetPlayerPos(playerid,2350.339843,-1181.649902,1027.976562); // Ms-13 Gang
        PlayerInfo[playerid][pInt] = 1;
    }
make sure it set right int for player. other wise screen will be blue.
Reply
#4

Quote:
Originally Posted by Top_Shoter
pawn Код:
}
    else if(PlayerToPointStripped(1, playerid,1123.0614,-2037.0490,69.8937, cx,cy,cz))
    {//MS-13 enter
        GameTextForPlayer(playerid, "~w~MS 13 ~n~gang hq", 5000, 1);
        SetPlayerInterior(playerid, 1);
        SetPlayerPos(playerid,2350.339843,-1181.649902,1027.976562); // Ms-13 Gang
        PlayerInfo[playerid][pInt] = 1;
    }
make sure it set right int for player. other wise screen will be blue.
this didnt work =[
Reply
#5

thats the code you wanted in there did you make it set your right int if not it will take you there but in wrong int so you wont be able to see nothing.
Reply
#6

Quote:
Originally Posted by Top_Shoter
thats the code you wanted in there did you make it set your right int if not it will take you there but in wrong int so you wont be able to see nothing.
Nah, the person doesnt even get teleported.
Reply
#7

have you made it it so it teleport you from the right place. are you goin to the right place, if so try this


pawn Код:
}
else if(PlayerToPointStripped(10, playerid,1123.0614,-2037.0490,69.8937, cx,cy,cz))
{//MS-13 enter
GameTextForPlayer(playerid, "~w~MS 13 ~n~gang hq", 5000, 1);
SetPlayerInterior(playerid, 1);
SetPlayerPos(playerid,2350.339843,-1181.649902,1027.976562); // Ms-13 Gang
PlayerInfo[playerid][pInt] = 1;
}
Reply
#8

Quote:
Originally Posted by Top_Shoter
have you made it it so it teleport you from the right place. are you goin to the right place, if so try this


pawn Код:
}
else if(PlayerToPointStripped(10, playerid,1123.0614,-2037.0490,69.8937, cx,cy,cz))
{//MS-13 enter
GameTextForPlayer(playerid, "~w~MS 13 ~n~gang hq", 5000, 1);
SetPlayerInterior(playerid, 1);
SetPlayerPos(playerid,2350.339843,-1181.649902,1027.976562); // Ms-13 Gang
PlayerInfo[playerid][pInt] = 1;
}
still bugged ill get the new cords again, sec
Reply
#9

Yeah im on my laptop n its not installed erm did you /save were you want to be for it to teleport you??
Reply
#10

Quote:
Originally Posted by Top_Shoter
Yeah im on my laptop n its not installed erm did you /save were you want to be for it to teleport you??
yup, heres a new /save from the positon i want to be teleported from
AddPlayerClass(109,2808.4053,-1176.8412,25.3655,18.8866,0,0,0,0,0,0); //

i've added a AddStatic to btw

a I
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)