• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Script pvp

Psyzinhoow

New Member
Joined
May 15, 2010
Messages
25
Reaction score
0
How do I get for pvp only between two vocations?
example: knight, elite knight, only kills knight and elite kngiht.
epic knight and master epic knight, only kills epic knight and master epic knight.

pls help !!!
 
@Blintzer
Look what i could do until now, only I have a problem, the script makes the knight will not attack the knight, is to help me?
script:
Code:
function onCombat(cid, target)

if isPlayer(target) then
    if getPlayerVocation(cid) == getPlayerVocation(target) then 
    doPlayerSendTextMessage(cid, 27, "Você não pode atacar players da mesma vocação.")
    return FALSE 
    end
  return TRUE 
end
end
 
Back
Top