what 2 exit ? helpppp
#1

what 2 exit ?



public OnGameModeInit()
{
DisableInteriorEnterExits();

CreateEnterExit(0, -1912.5909, 827.6176, 35.6219, 364.5331, -73.8326, 1001.4423, 250, 10, 0, "");//pizza1
CreateEnterExit(0, 363.4846, -74.8055, 1001.4431, -1911.0651, 829.3088, 35.6219, 0, 0, 0, "");// pizza1
------------------------------
CreateEnterExit(0, -2337.2708, -166.7603, 35.4920, 364.5331, -73.8326, 1001.4423, 250, 10, 0, "");//pizza2
CreateEnterExit(0, 362.7203, -75.4065, 1001.4423 , -2335.5352, -166.9128, 35.4920 , 270, 0, 0, "");//pizza2
Reply
#2

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys & KEY_SECONDARY_ATTACK)
{
//This for Entrance
if IsPlayerInRangeOfPoint(playerid, 1.0, -1912.5909, 827.6176, 35.6219) *then// for Entrance
{
SetPlayerPos(playerid, 364.5331, -73.8326, 1001.4423);
}
//Try this For Exit
if IsPlayerInRangeOfPoint(playerid, 1.0,364.5331, -73.8326, 1001.4423) *then// For Exit
{
SetPlayerPos(playerid, -1912.5909, 827.6176, 35.6219);
}
return 1;
}
and Add use Static pickup on gamemodeint
AddStaticPickup(1318, 1, -1912.5909, 827.6176, 35.6219,-1);//Grove Entrance
AddStaticPickup(1318, 1,364.5331, -73.8326, 1001.4423, -1);//Grove Exit
Try it i didnt check it
Reply
#3

how to add 2 point
Reply
#4

Put them both in a different Virtual World.
Reply
#5

Quote:

Put them both in a different Virtual World.

i intend Each two at one shop Embed
Reply
#6

Quote:
Originally Posted by par30
Посмотреть сообщение
i intend Each two at one shop Embed
If you intended it, then what's the problem? Lol. I intend each two at one shop < pretty much means that you wanted both in the same shop, which you have done. Embed, what do you mean by that? Leave ****** translate and just tell us normally.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)