Raised This Month: $ Target: $400
 0% 

arrg, somebody help plz


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 01-16-2007 , 01:44   Re: arrg, somebody help plz
Reply With Quote #1

We'll need to see your code.

Also, why are you replacing a function? Why not just use it?
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
tadoom
Junior Member
Join Date: Jan 2007
Old 01-16-2007 , 01:49   Re: arrg, somebody help plz
Reply With Quote #2

Im not using that function becuase I cant, its a cstrike one and im playing on tfc. I got a tfc money plugin going and I wanted to port the ice grenade plugin to tfc using well... the money plugin I have instead of cs functions I cant use. my code is...

Code:
public moneyforfrags() {  new iPlayers[32],iNum  get_players(iPlayers,iNum)  for(new i=0;i<iNum;i++)  {   new id=iPlayers[i]   if(is_user_connected(id))   {    if(get_user_frags(id)>lastfrags[id])    {     new hv=g_money[id]+=(get_user_frags(id)-lastfrags[id])*5     g_money[id]+=(get_user_frags(id)-lastfrags[id])*5     lastfrags[id]=get_user_frags(id)     client_print(id,print_chat,"You gained $%i.",hv)    }   }  } }

Thats just part of it but it seems like the only part you need.

All the money commands have used g_money
tadoom 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