6,833
edits
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 12: | Line 12: | ||
Some types inherit functionality from other types, for example, type <code>Player</code> inherits type <code>Ped</code>, meaning that type <code>Player</code> has 100% of the functionality that <code>Ped</code> has.<br> | Some types inherit functionality from other types, for example, type <code>Player</code> inherits type <code>Ped</code>, meaning that type <code>Player</code> has 100% of the functionality that <code>Ped</code> has.<br> | ||
Visit the [[ | Visit the [[Types|Types]] page for a full list of class inheritance. | ||
==Examples== | ==Examples== | ||
Line 24: | Line 24: | ||
'''Lua, Server-Side, Function:''' | '''Lua, Server-Side, Function:''' | ||
{{LuaCode|1=message('This message will be shown in the chat box!', COLOUR_GREEN) -- | {{LuaCode|1=message('This message will be shown in the chat box!', COLOUR_GREEN) -- message is a function}} | ||
'''Lua, Server-Side, Property:''' | '''Lua, Server-Side, Property:''' |
edits