Quote:
Originally Posted by LambdaLambda
But problem with usage of "player_spawn" event is, so when you pick it up, then you can use it. It's not disappearing. But I know that some maps got their weapons spawned on the floor, so you're not spawning with it.
|
But if you create a cell holding the weapon
PHP Code:
new weapon = GetPlayerWeaponSlot(client,1);
then use it with
PHP Code:
RemovePlayerItem(client, weapon)
and then
PHP Code:
RemoveEdict(weapon)
It works great, but before you should do
PHP Code:
IsValidEdict(weapon)