Hello !. I am learning to do scripts (i read the guides of the forum), and i have some questions:
1) What's a "nil" value, for what serve?
2) For what serves return, and what is it? (True and false, or 1 and 0) What's the difference if i use 1 or true?
3) In detail, for what is "cid"? Because i use this in the most of the scripts, but i don't know for what works.. Example in this function: doPlayerSetVocation(cid,voc)
4) How i can use the function getPromotedVocation(vocation) if i wanna promote a player for talkaction paying 20k?
5) Where are a guide for .lua lenguage? NOT SCRIPT OTSERVER !, lua lenguage..
That's for now
Kind regards
Xapuur
1) What's a "nil" value, for what serve?
2) For what serves return, and what is it? (True and false, or 1 and 0) What's the difference if i use 1 or true?
3) In detail, for what is "cid"? Because i use this in the most of the scripts, but i don't know for what works.. Example in this function: doPlayerSetVocation(cid,voc)
4) How i can use the function getPromotedVocation(vocation) if i wanna promote a player for talkaction paying 20k?
5) Where are a guide for .lua lenguage? NOT SCRIPT OTSERVER !, lua lenguage..
That's for now
Kind regards
Xapuur
Last edited: