• 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!

Pokeballs help needed!!

Ranyo13

ManCausingMayhem
Joined
Aug 22, 2009
Messages
981
Reaction score
39
Hey guys!
I just need some help as i just said in tha title... <_<

The problem is like when i use my pokeballs it summons a certain monster or pokemon or w/e
So when i try to put in another pokeball in the slot(feet slot) it just goes there and the monster is still there... like a demon is summoned, i put another pokeball containing a rat it just goes in the slot and the demon is still summoned...

I just need help with a script like when theres a monster or pokemon summoned you can't drag another pokeball with another monster or pokemon in it to the feet slot...

Here are 2 scripts i tried but i failed...

Code:
function onEquip (cid, item, slot)
 
if getPlayerSummons(cid) == 1 then
 doPlayerSendCancel(cid, 'Sorry, not possible.')
return TRUE
end
end

or maybe something like that...

Code:
function onEquip (cid, item, slot)
 
if getPlayerSummons(cid) >= 0 then
 doPlayerSendCancel(cid, 'Sorry, not possible.')
return TRUE
end
end

I hope i gave you some ideas through my failing scripts so you can make me a fixed one...
IF you dont understand me ask me to repeat ^_^
IF you help me with this i will rep you forever...

Thanks,
Ranyo
 
Last edited:
Back
Top