Raised This Month: $ Target: $400
 0% 

arrg, somebody help plz


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Salepate
Junior Member
Join Date: Jan 2007
Old 01-16-2007 , 02:09   Re: arrg, somebody help plz
Reply With Quote #1

What about g_money ? how can you use :
Code:
public buy_frostnade(id) {     g_money[id]+=(get_user_frags(id)-lastfrags[id])*5;
}
and
Code:
public moneyforfrags() {     g_money(id, money - get_cvar_num("fn_price")); }
at a same time ? Isn't money a function ?

Besides declaring a variable in a loop will generate an error.
Code:
for ( new i = 0 ; i <iNum ; i ++ ) {     new id = iPlayers[i]; }
must be :
Code:
new id; for ( new i = 0 ; i <iNum ; i ++ ) {     id = iPlayers[i]; }
Salepate 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 22:25.


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