Raised This Month: $ Target: $400
 0% 

Problems Passing Variable


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 10-23-2012 , 16:26   Re: Problems Passing Variable
Reply With Quote #1

PHP Code:
GiveReward(clientargs
Two things:
  1. Why is the second argument named args? This function isn't a ConCmd as far as I can tell.
  2. args needs to be declared as a String if you're passing a string into it, such as String:args[]
__________________
Not currently working on SourceMod plugin development.
Powerlord 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 11:43.


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