• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

cid?

chael

New Member
Joined
Mar 15, 2012
Messages
28
Reaction score
0
in all the lua files it says somthing about cid

(part of rebirth scrip tha wont work for me lol)


Code:
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
local talkState = {}
 
function onCreatureAppear(cid)				npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid)			npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg)			npcHandler:onCreatureSay(cid, type, msg) end
function onThink()					npcHandler:onThink() end

what does cid mean?
 
cid is something like "the player or creature the script is working on" I guess.

Red
 
CID = Creature IDentification; can be a player or monster or an NPC.
It's basically a number with an integrated time stamp which will change when crossed or used with a script (level up, death, logout,...)
 
Back
Top