Raised This Month: $ Target: $400
 0% 

warning 217: loose indentation & say commands


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Duo
Junior Member
Join Date: Sep 2004
Old 09-13-2004 , 22:00   warning 217: loose indentation & say commands
Reply With Quote #1

Just finished writing another a moneyscript (Im very original) and got it compiling with out errors. However, i have like 7 of these warnings.

warning 217: loose indentation

I moved things togeather and apart yet no avil.

if(read_argc() == 0) { // Reads arguments

or

cs_set_user_money (id , 16000,1 )

There is an example of 2 i have, if you can point me in the right direction im sure i can find out the rest.

Also, while my script picks thing up out of the console, i like to be lazy, and so do other people who play where i do, so i want my script to pick up out of console.

register_concmd("say /givemoney","give_cash",-1,"Gives $16000 to the person")

I was hoping it would pick up on it in the console, so i could type

/givemoney Addict

for example, when i type /givemoney with out a name my debug kicks in and says that it wants a user, but if i add a name it just sort if ignores it and uses it as say. however, if i use it through the console it works like a charm. Thanks, i want to make sure my scripts dont suck before posting them for public consumption.
Duo 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 17:14.


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