Raised This Month: $51 Target: $400
 12% 

GivePlayerItem and round_start help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
bladeee
Junior Member
Join Date: Jan 2016
Old 01-12-2016 , 21:06   GivePlayerItem and round_start help
Reply With Quote #1

I'm getting an error with GivePlayerItem() and the round_start hook params.

GivePlayerItem() code and error:
Spoiler


round_start code and error:
Spoiler


FULL CODE:
Spoiler
bladeee is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 01-12-2016 , 21:19   Re: GivePlayerItem and round_start help
Reply With Quote #2

change
const char name[]
to
const char[] name

GivePlayerItem() does not exist in SourcePawn by itself. You need to do #include <sdktools> toward the top of your plugin.
__________________

Last edited by ddhoward; 01-12-2016 at 21:20.
ddhoward is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 01-12-2016 , 22:30   Re: GivePlayerItem and round_start help
Reply With Quote #3

"taser"??

weapon_taser
Mitchell is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:33.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode