Darko0 Scripter
Premios :
Posts : 58 Points : 652 Reputation : 32 Join date : 17/07/2012
| Tema: [SCRIPT] Change sex Mar Jul 17, 2012 4:35 pm | |
| Hola amigos otraves jeje les traigo este script que es para cambiar de sexo teniendo una cuenta premium jejeje pues bueno empesemos Data/Talkactions/Scripts/changesex.lua - Código:
-
function onSay(cid, words, param) if getPlayerPremiumDays(cid) > 2 then doPlayerRemovePremiumDays(cid, 3) doPlayerSetSex(cid, getPlayerSex(cid) == 0 and 1 or 0) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You have changed your sex and lost three days of premium account.") else doPlayerSendCancel(cid, "You do not have enough premium days, changing sex costs three of your premium days.") doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF) end end Talkactions.xml - Código:
-
<talkaction words="!changesex" script="changesex.lua"/> Bueno eso fue todo amigos ojalas les guste o les sirva para su ot Darko0 fuera | |
|