Raised This Month: $ Target: $400
 0% 

Attaching a native to a variable


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
bluechester
AlliedModders Donor
Join Date: Nov 2008
Old 05-19-2010 , 22:23   Attaching a native to a variable
Reply With Quote #1

I am trying to attach this
PHP Code:
new iPlayer[32] = get_user_name(id); 
(line 153)

So then I can execute a command on a client
PHP Code:
client_cmd(id"zp_bazooka %s"iPlayer); 
But I get the following error
Code:
Error: Number of arguments does not match definition on line 153
Help please?

Last edited by bluechester; 05-19-2010 at 22:29.
bluechester is offline
 



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 03:49.


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