AMX Mod X API Documentation

Signature
stock ts_weaponspawn(const weaponid[], const duration[], const extraclip[], const spawnflags[], const Float:Origin[3]){ new ent = create_entity("ts_groundweapon"); DispatchKeyValue(ent, "tsweaponid", weaponid); DispatchKeyValue(ent, "wduration", duration); DispatchKeyValue(ent, "wextraclip", extraclip); DispatchKeyValue(ent, "spawnflags", spawnflags); DispatchSpawn(ent); entity_set_origin(ent, Origin); return PLUGIN_HANDLED;}
Description

Spawns a Weapon

Назад
Верх