Scripting/Server/Functions/CreateClientCheckpoint
Same, but only that player sees it and only they trigger it. The player is the last argument. A player can have any number of these. Throws a script error if the player is invalid or no slots remain.
Syntax
CreateClientCheckpoint(pos, radius [, colour], player)Arguments
- Vector pos
- float radius
- Colour colour (optional)
- Player player (optional)
Example
function onPlayerCommand( player, cmd, params )
{
if ( cmd == "createclientcheckpoint" )
{
CreateClientCheckpoint( player.Pos, 5.0 );
}
}This sample was generated from the signature – adapt the values to your gamemode.
Related pages
- CreateVehicle
- CreateObject
- CreatePickup
- CreateWeaponPickup
- CreateSphere
- CreateClientSphere
- CreateCheckpoint
- FindCheckpoint
- GetCheckpointCount
- CreateBlip
- CreateClientBlip
- GangZoneCreate
Section: Creating world entities
Categories: Server functions | Creating world entities