Darko0 Scripter
Premios :
Posts : 58 Points : 652 Reputation : 32 Join date : 17/07/2012
| Tema: [SCRIPT] Proteccion de party Mar Jul 17, 2012 4:49 pm | |
| Este scipt se trata de que a los que son compañeros de tu party no les pasa anda con tu ataques ojala si entiendan ahi les va Van a Tu ot/Data/Creaturescripts/scripts y cren un archivo Proteccionparty.lua y le ponen esto - Código:
-
function onCombat(cid, target) if(isInParty(cid) and isInParty(target)) then if (getPartyLeader(cid) == getPartyLeader(target)) then return false end end return true end Luego ahi mismo en la carpeta scripts van a login.lua y ponen - Código:
-
registerCreatureEvent(cid, "Proteccionparty") ahora en creaturescripts.xml pondran esto - Código:
-
<event type="combat" name="Proteccionparty" event="script" value="Proteccionparty.lua"/> Eso es todo creditos 99% Blacktibia 1% yo por traerlo | |
|