Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local rocket = 75973
- local rocket1 = 75957
- local rocket2 = 75972
- local riding3 = 34090
- local riding4 = 34091
- local coldweatherfly = 54197
- function rocket_cast(event, player, spellid)
- if(spellid == rocket) then
- RegisterTimedEvent("rocket_check", 1600, 1, event, player)
- end
- end
- RegisterServerHook(10, "rocket_cast")
- function rocket_check(event, player)
- if (player:HasAura(rocket) == true) then
- player:RemoveAura(rocket)
- if (player:HasSpell(riding4) == false) then
- if (player:HasSpell(riding3) == false) then
- else
- if player:GetMapId() == 530 then
- player:FullCastSpell(rocket1)
- elseif player:GetMapId() == 571 then
- if (player:HasSpell(coldweatherfly) == true) then
- player:FullCastSpell(rocket1)
- end
- end
- end
- else
- if player:GetMapId() == 530 then
- player:FullCastSpell(rocket2)
- elseif player:GetMapId() == 571 then
- if (player:HasSpell(coldweatherfly) == true) then
- player:FullCastSpell(rocket2)
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement