Jump to content

Ayuda - onPlayerChat


Matty

Recommended Posts

Posted

Buenas... Alguien me podría decir cual es el formato correcto para desactivar el evento "onPlayerChat" ?

Desde ya gracias.

mattybanner.jpg

...Learning Scripting...

State: Rookie, Noob

[AP3]=Matty!=

My Skype: mattias.netz

Posted
function nochat() 
cancelEvent() 
end 
addEventHandler("onPlayerChat",getRootElement(),nochat) 

Actual Nick: [XGN]BorderLine

Actual Clan: XLatino

Actual Status: Staff, Mod Level 1

(BOSS)Yakuza - [vS]Yakuza - [sXE]Yakuza - [uG]Yakuza - [FTLS]Racing - [XGN]Borderline

Posted

huntedPlayer? de donde sakaste eso?

Actual Nick: [XGN]BorderLine

Actual Clan: XLatino

Actual Status: Staff, Mod Level 1

(BOSS)Yakuza - [vS]Yakuza - [sXE]Yakuza - [uG]Yakuza - [FTLS]Racing - [XGN]Borderline

Posted

No funcionaria con 'huntedPlayer' porque no esta definido en ninguna parte.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

me estas diciendo que esto es la wiki esta mal?

-- call 'stopVehicleEntry' whenever hunterPlayer is about to enter a vehicle: 
function stopVehicleEntry ( theplayer, seat, jacked ) 
   cancelEvent () -- stop the event from occuring 
end 
addEventHandler ( "onVehicleStartEnter", huntedPlayer, stopVehicleEntry ) 

rsilex.png.0e6ad382b3fdc3cbe6390e3e847572c9.png
Posted

ese es el codigo completo? seguro mas atras esta definido

Actual Nick: [XGN]BorderLine

Actual Clan: XLatino

Actual Status: Staff, Mod Level 1

(BOSS)Yakuza - [vS]Yakuza - [sXE]Yakuza - [uG]Yakuza - [FTLS]Racing - [XGN]Borderline

Posted
me estas diciendo que esto es la wiki esta mal?
-- call 'stopVehicleEntry' whenever hunterPlayer is about to enter a vehicle: 
function stopVehicleEntry ( theplayer, seat, jacked ) 
   cancelEvent () -- stop the event from occuring 
end 
addEventHandler ( "onVehicleStartEnter", huntedPlayer, stopVehicleEntry ) 

Por lo que veo, el ejemplo esta incompleto, asi que si, esta mal.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

El evento: "onPlayerWeaponFire" no existe.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...