24.04.2010, 09:51
Hi!
I'm here again with a new problem regarding my gamemode's businesses. I started to edit the LARP mode for my roleplay server and now I'm working on the businesses. I deleted all businesses with interiors and made three new, Cluckin' Bell businesses with the same interiors and the same /exit places. The problem is that if you write /exit in the interior of Willowfield's Cluckin' Bell, the game puts you to the exit of an other Cluckin' Bell in East Los Santos, and it is the same if you want to exit from the Cluckin' Bell in Market. I tried many things but I couldn't make it work properly, so I would like to ask you for some help, guys. Thanks!
The business part of my /exit command:
My biz.cfg file:
I'm here again with a new problem regarding my gamemode's businesses. I started to edit the LARP mode for my roleplay server and now I'm working on the businesses. I deleted all businesses with interiors and made three new, Cluckin' Bell businesses with the same interiors and the same /exit places. The problem is that if you write /exit in the interior of Willowfield's Cluckin' Bell, the game puts you to the exit of an other Cluckin' Bell in East Los Santos, and it is the same if you want to exit from the Cluckin' Bell in Market. I tried many things but I couldn't make it work properly, so I would like to ask you for some help, guys. Thanks!
The business part of my /exit command:
pawn Код:
for(new i = 0; i < sizeof(BizzInfo); i++)
{
if (PlayerToPoint(3, playerid,BizzInfo[i][bExitX], BizzInfo[i][bExitY], BizzInfo[i][bExitZ]))
{
DisablePlayerCheckpoint(playerid);
SetPlayerFacingAngle(playerid, BizzInfo[i][bAngleKi]);
SetPlayerInterior(playerid, 0);
SetPlayerVirtualWorld(playerid, 0);
PlayerInfo[playerid][pInt] = 0;
InAFoodPlace[playerid] = 0;
PlayerInfo[playerid][pLocal] = 255;
SetPlayerPos(playerid,BizzInfo[i][bEntranceX],BizzInfo[i][bEntranceY],BizzInfo[i][bEntranceZ]);
return 1;
}
}
Код:
0|The State|~y~Cluckin' Bell - East Los Santos|No-one|2420.234375|-1508.995361|24.000000|364.971710|-11.026300|1001.851623|5|5000000|0|0|0|9|496|500|100|0|270|360 0|The State|~y~Cluckin' Bell - Willowfield|No-one|2397.771972|-1898.604614|13.546895|364.971710|-11.026300|1001.851623|5|5000000|0|0|0|9|483|500|100|1|0|360 0|The State|~y~Cluckin' Bell - Market|No-one|928.503112|-1352.824340|13.343791|364.971710|-11.026300|1001.851623|5|5000000|0|0|0|9|494|500|100|2|90|360