You just say !stamina and it will give you full stamina but you need 150cc.
You can change item and number of cc or whatever here, 2160 stands for cc and 150 for the number of cc that means 150cc
Code:
function onSay(cid, words, param)
if doPlayerRemoveItem(cid,2160,150) then
getPlayerStamina(cid)
doCreatureSay(cid, "!stamina", TALKTYPE_ORANGE_1)
else
doPlayerSendCancel(cid, 'You do not have 150cc.')
end
You can change item and number of cc or whatever here, 2160 stands for cc and 150 for the number of cc that means 150cc
Code:
if doPlayerRemoveItem(cid,2160,150)