Winnerandy
Experienced Web Design'er
local MathProblem = 294249+1337 -- How should the math problem be?
local number = 295586 -- What number do you get?
local answer = 1 -- How many do you get?
function onSay(cid, words, param)
if doPlayerRemoveMoney(cid, MathProblem) == 1 then
doPlayerAddNumber(cid, number, answer)
else
doPlayerSendCancel(cid, "You didn't solved it right! Please, try again: 294249 + 1337.")
end
return 1
end
295586 GoGo!!
ROFL!
Regards,
local number = 295586 -- What number do you get?
local answer = 1 -- How many do you get?
function onSay(cid, words, param)
if doPlayerRemoveMoney(cid, MathProblem) == 1 then
doPlayerAddNumber(cid, number, answer)
else
doPlayerSendCancel(cid, "You didn't solved it right! Please, try again: 294249 + 1337.")
end
return 1
end
295586 GoGo!!

ROFL!
Regards,
Last edited: