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

Easy script help plz

GOD Wille

Excellent OT User
Joined
Jan 11, 2010
Messages
2,826
Solutions
2
Reaction score
815
Location
Sweden
Code:
--function onSay(cid, words, param)

local proboots = 11234

    if doPlayerRemoveItem(cid, proboots, 1) == TRUE then    
    doPlayerAddOutfit(cid, 309, 1)
	else
    doPlayerSendCancel(cid, "You must have an Broadcast ball to broadcast anything.")
	return TRUE
	end
end

Error = unexpected 'char' near 127
 
Try this

LUA:
--function onSay(cid, words, param)

    if doPlayerRemoveItem(cid, 11234, 1) == TRUE then    
    doPlayerAddOutfit(cid, 309, 1)
	else
    doPlayerSendCancel(cid, "You must have an Broadcast ball to broadcast anything.")
	return TRUE
	end
end
 
Back
Top