Postado Julho 25, 2012 12 anos function onKill(cid, target) --config---------------------------- local lvl = getPlayerLevel(cid) --players level local nlvl = getPlayerLevel(cid) + 5 -- add 5 levels --end------------------------------- if isPlayer(target) == TRUE then if getPlayerIp(cid) ~= getPlayerIp(target) then local exp = (50 * (lvl) * (lvl) * (lvl) - 150 * (lvl) * (lvl) + 400 * (lvl)) / 5 local nexp = (50 * (nlvl) * (nlvl) * (nlvl) - 150 * (nlvl) * (nlvl) + 400 * (nlvl)) / 5 local newexp = nexp - exp doPlayerAddExp(cid,newexp) doSendAnimatedText(getPlayerPosition(cid), "Orgasmic~", 198) else doPlayerAddExperience(cid, -50000) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE,"You have been punished for killing a player of the same IP.") end end return TRUE end para que serve isso so pra saber...
Postado Julho 25, 2012 12 anos Ganha 5 leveis ao matar um player. Caso este player seja do mesmo ip que você, você perde 50000 de experiência. É isso. rena.to
Postado Julho 25, 2012 12 anos Renato respondeu primeiro /\ Editado Julho 25, 2012 12 anos por Hayashii (veja o histórico de edições) Se o mundo é mesmo parecido com o que vejo, Prefiro acreditar no mundo do meu jeito. ( - Renato Russo)
Postado Julho 25, 2012 12 anos You have been punished for killing a player of the same IP. Creio que seja uma punição por matar muitas vezez um players do mesmo IP sagysaghsagygasysagygyas
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.