Easy to tell when it's 1.x or 0.x, check
function onSay(player, words, param)
player instead of cid.
player:sendTextMessage(MESSAGE_INFO_DESCR, "You have started casting your gameplay.")
player:sendTextMessage(..) instead of doPlayerSendTextMessage(cid, ..)
etc etc