MCPcopy Create free account
hub / github.com/JACoders/OpenJK / Cmd_Spawn

Function Cmd_Spawn

code/game/g_cmds.cpp:655–664  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

653*/
654
655void Cmd_Spawn( gentity_t *ent )
656{
657 char *name;
658
659 name = ConcatArgs( 1 );
660
661 gi.SendServerCommand( ent-g_entities, "print \"Spawning '%s'\n\"", name );
662
663 UserSpawn( ent, name );
664}
665
666/*
667=================

Callers 1

ClientCommandFunction · 0.70

Calls 2

ConcatArgsFunction · 0.70
UserSpawnFunction · 0.70

Tested by

no test coverage detected