Raised This Month: $ Target: $400
 0% 

array problem :X


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
wonsae
Senior Member
Join Date: Jan 2006
Location: Behind you >:D
Old 05-08-2006 , 17:21   array problem :X
Reply With Quote #1

compiling error
Code:
Error: Must be assigned to an array on line 600
code V
Code:
public item_gas(){     new arg[32], arg2[32], id     read_argv(1,arg,31)     read_argv(2,arg2,32)     id = str_to_num(arg)     fuel[id] = str_to_num(arg2)     if(incar[id] == 1){         fuel[id] = arg2     }     else     {         client_print(id,print_chat,"[CarMod] You need to be incar to put in gas!")     }     return PLUGIN_HANDLED }
wonsae is offline
 


Thread Tools
Display Modes

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 05:01.


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