18.09.2011, 23:21
I need help with this
I have a biz system but idk how how make it to where 2 biz's with the same interior can exit in at 2 points I tried changing the VW but no luck the biz system is a GF edit here is the /exit command for it.
anyone know how I can do this? please help!
I have a biz system but idk how how make it to where 2 biz's with the same interior can exit in at 2 points I tried changing the VW but no luck the biz system is a GF edit here is the /exit command for it.
Код:
for(new i = 0; i < sizeof(BizzInfo); i++) { if (IsAtBizExit(playerid)) { if(IsPlayerInRangeOfPoint(playerid,3,BizzInfo[i][bExitX], BizzInfo[i][bExitY], BizzInfo[i][bExitZ])) //businesses { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid, 0); PlayerInfo[playerid][pInt] = 0; SetPlayerPos(playerid,BizzInfo[i][bEntranceX],BizzInfo[i][bEntranceY],BizzInfo[i][bEntranceZ]); return 1; } } }