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

Simple Scripting question

Fu Manchu

Sepultra™
Joined
Jan 28, 2011
Messages
439
Reaction score
9
LUA:
doPlayerSendCancel(cid, 'You dont have enough money.')
how do I change dont to don't

I figured something like this

LUA:
doPlayerSendCancel(cid, 'You don\'t have enough money.')
Also on these forums how do I change the tagging from code to like Lua or Xml code??
 
Last edited:
I figured something like this
I figured something like
I figured something
I figured
I

Yup. it depends if you use Apostrophe ( ' ) or Quotation Marks ( " )

LUA:
doPlayerSendCancel(cid, 'You don\'t have enough money.')
if using ' [sentence] ' you have to use an back slash to place an apostrophe for words like: Don't, can't , Jack's pencil, stuff like that!
but if using " [sentence] " you can just straight up just write Don't without the back slash.

LUA:
doPlayerSendCancel(cid, "You don't have enough money.")
 
Back
Top