Scripting/Server/Functions/GangZoneFlashForPlayer
The zone alternates between its colour and flashColour about every third of a second while it is shown (a flash set on a hidden zone starts when you show it).
Syntax
GangZoneFlashForPlayer(player, zone, flashColour)GangZoneFlashForAll(zone, flashColour)Arguments
- Player player
- any zone
- any flashColour – The zone alternates between its colour and
flashColourabout every third of a second while it is shown (a flash set on a hidden zone starts when you show it).
Returns
bool
Example
function onPlayerCommand( player, cmd, params )
{
if ( cmd == "gangzoneflashforplayer" )
{
local result = GangZoneFlashForPlayer( player, 0, 0 );
MessagePlayer( "GangZoneFlashForPlayer returned: " + result, player );
}
}This sample was generated from the signature – adapt the values to your gamemode.
Related pages
- CreateVehicle
- CreateObject
- CreatePickup
- CreateWeaponPickup
- CreateSphere
- CreateClientSphere
- CreateCheckpoint
- CreateClientCheckpoint
- FindCheckpoint
- GetCheckpointCount
- CreateBlip
- CreateClientBlip
Section: Creating world entities
Categories: Server functions | Creating world entities