[AJUDA]Portao Buzina
#6

PHP код:
public OnPlayerKeyStateChange(playerid,newkeys,oldkeys){    
if(
newkeys == 2)    
{        
if(
IsPlayerInRangeOfPoint(playerid,10.0,X,Y,Z)) // X Y Z = Coordenadas aonde o portгo fica, ou onde tu quer que a busina funfe        
{           
 if(
IsPlayerInAnyVehicle(playerid))            
{                
MoveObject(IDXYZ6.0); //ID do objeto X Y Z = coordenadas para mover o objeto                r
eturn 1;            
}           
 return 
true;        
}        return 
true;    
}   
 return 
true;

Deu erro aqui na minha casa
Reply


Messages In This Thread
[AJUDA]Portao Buzina - by LuC4z - 09.10.2011, 01:23
Re: [AJUDA]Portao Buzina - by Dolby - 09.10.2011, 01:26
Re: [AJUDA]Portao Buzina - by WLSF - 09.10.2011, 01:27
Re: [AJUDA]Portao Buzina - by ceesar90 - 09.10.2011, 01:28
Re: [AJUDA]Portao Buzina - by Josma_cmd - 09.10.2011, 01:30
Re: [AJUDA]Portao Buzina - by MatriXBorn - 09.10.2011, 17:33
Re: [AJUDA]Portao Buzina - by DreeH - 09.10.2011, 18:01

Forum Jump:


Users browsing this thread: 3 Guest(s)