Ham_AddPlayerItem
I'm trying to give an item to a player when they spawn.
fun module's give_item prints a message. I don't want this to happen. So then i saw hamsandwich's Ham_AddPlayerItem and i'm wondering what the parameters are. Quote:
My assumption is that this is the player to add the item to and idother is the ID of the item to give. Is this correct? PHP Code:
|
Re: Ham_AddPlayerItem
Quote:
Have you tried with the search button? it's magic: http://forums.alliedmods.net/showthread.php?t=56377 ... |
Re: Ham_AddPlayerItem
"fun module's give_item prints a message. I don't want this to happen."
What ? |
Re: Ham_AddPlayerItem
Quote:
And that is way more complicated than i was looking for....i.e. 1 native call as opposed to 32342..... And yet still doesn't answer my question.... |
Re: Ham_AddPlayerItem
Quote:
|
Re: Ham_AddPlayerItem
Quote:
|
Re: Ham_AddPlayerItem
Why do you need to use this ? Which kind of item do you want to give ?
|
Re: Ham_AddPlayerItem
Quote:
i.e. i have an array of item names (weapons/armor) to give to clients. |
Re: Ham_AddPlayerItem
And why give_item isn't a good solution .__. ?
|
Re: Ham_AddPlayerItem
Quote:
Code:
You're just applying an insignificant number, it should be the weapon entity index |
| All times are GMT -4. The time now is 08:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.