Raised This Month: $ Target: $400
 0% 

What wrong??


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
emperial159
Member
Join Date: Feb 2011
Old 04-28-2011 , 09:44   Re: What wrong??
Reply With Quote #3

PHP Code:
public tank_reborn(iTaskID)
{
    if (
get_playersnum() < 1)
        return;

    
g_SpawnTanks &= ~( << ( ( iTaskID REBORN_TANK ) & 31 ) );

    new 
cName[32], randompliPlayers[32], iNum;

    
get_players(iPlayersiNum"ae""TERRORIST");
    
randompl iPlayers[random(iNum)];

    new 
Floattank_healthFloat:tank_gravity
    tank_health 
get_pcvar_float(hp_tank)
    
tank_gravity get_pcvar_float(gr_tank) / 800

    iClass
[randompl] = 9;
    
copy(player_model[randompl], charsmaxplayer_model[] ), tank_model)
    
set_pev(randomplpev_healthtank_health)
    
set_pev(randomplpev_gravitytank_gravity
Error sad on this line it's wrong where i wrote...

Code:
L 04/27/2011 - 16:21:45: [AMXX]    [0] uhhh.sma::global_tank (line 814)
L 04/27/2011 - 16:28:03: [AMXX] Displaying debug trace (plugin "uhhh.amxx")
L 04/27/2011 - 16:28:03: [AMXX] Run time error 4: index out of bounds

Last edited by emperial159; 04-28-2011 at 09:47.
emperial159 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 04:20.


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