Business Entrance&Exit
#7

Quote:
Originally Posted by JasonRiggs
Посмотреть сообщение
Okay it is either in creation, or either in the /enter cmd itself, Show me the /enter command (part of businesses) and show me how do you set an interior for the biz.
PHP код:
iBizTryEnter(playerid) { 
    for(new 
i=0;i<MAX_ILLEGAL_BIZ;i++) { 
        if(
IllegalBusinesses[i][EIllegalBiz_SQLID] != 0) { 
            new 
interior IllegalBusinesses[i][EIllegalBiz_Interior]; 
            if(
IsPlayerInRangeOfPoint(playerid,1.5,IllegalBusinesses[i][EIllegalBiz_X], IllegalBusinesses[i][EIllegalBiz_Y], IllegalBusinesses[i][EIllegalBiz_Z])) { 
                if(
IllegalBusinesses[i][EIllegalBiz_Closed] == 0) { 
                    
HintMessage(playeridCOLOR_LIGHTGREEN"(( Do /buy to buy things ))"); 
                    
SetPlayerPos(playeridIBInteriors[interior][EIBX],IBInteriors[interior][EIBY],IBInteriors[interior][EIBZ]); 
                    
SetPlayerInterior(playeridIBInteriors[interior][EIBInterior]); 
                    
SetPlayerVirtualWorld(playeridIllegalBusinesses[i][EIllegalBiz_SQLID]+25000); 
                    
SetPlayerFacingAngle(playeridIBInteriors[interior][EIBAngle]); 
                } 
Reply


Messages In This Thread
Business Entrance&Exit - by Puff - 10.09.2017, 11:26
Re: Business Entrance&Exit - by JasonRiggs - 10.09.2017, 11:28
Re: Business Entrance&Exit - by Puff - 10.09.2017, 11:33
Re: Business Entrance&Exit - by JasonRiggs - 10.09.2017, 11:38
Re: Business Entrance&Exit - by Puff - 10.09.2017, 11:47
Re: Business Entrance&Exit - by JasonRiggs - 10.09.2017, 11:56
Re: Business Entrance&Exit - by Puff - 10.09.2017, 12:00
Re: Business Entrance&Exit - by JasonRiggs - 10.09.2017, 12:11
Re: Business Entrance&Exit - by Puff - 10.09.2017, 12:14

Forum Jump:


Users browsing this thread: 1 Guest(s)