Raised This Month: $ Target: $400
 0% 

[AMXX] Run time error 11: divide


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
striker07
Veteran Member
Join Date: Mar 2012
Location: Solar System/Earth/Belgi
Old 07-13-2012 , 18:44   [AMXX] Run time error 11: divide
Reply With Quote #1

What am i doing wrong here?
ingame it doesnt divide the 2 vallues, the result is always 0.00 no matter ho many kills or deaths id has

PHP Code:
new Msg[512];
new 
ratio = ((g_iKills[id]) / (g_iDeaths[id]));
set_hudmessage(g_Redg_Greeng_Blue0.41, -0.890_0.20.10.11);
 
format(Msg,511," Level: %i   Exp: %i /%i ^n Kills: %i  Deaths: %i  K/D-Ratio: %.2f"g_iLevel[id], g_iXP[id], required_xp(id),  g_iKills[id], g_iDeaths[id], ratio );
 
ShowSyncHudMsg(idg_iSyncMsg); 
__________________

Working on:
[CSGO/CSS] Mmorpg - an extensive XP/level modulair platform
Progress: [♣♣♣♣♣♣♣|♣♣♣]

Last edited by striker07; 07-13-2012 at 18:45.
striker07 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 15:23.


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