Scripting/Server/Functions/GetGraffiti
Everything about one graffiti as an array [image, x, y, z, rx, ry, rz, width, height, alpha, world], or null.
Syntax
GetGraffiti(id)Arguments
- int id
Returns
array|null
Example
function onPlayerCommand( player, cmd, params )
{
if ( cmd == "getgraffiti" )
{
local result = GetGraffiti( 0 );
MessagePlayer( "GetGraffiti returned: " + result, player );
}
}This sample was generated from the signature – adapt the values to your gamemode.
Related pages
Section: Graffiti (v0.5-beta, PC only)
Categories: Server functions | Graffiti (v0.5-beta, PC only)