Raised This Month: $ Target: $400
 0% 

VIP system...


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
qUneT
New Member
Join Date: Oct 2013
Old 05-11-2014 , 14:06   VIP system...
Reply With Quote #1

Hey i have a problem.

I got a error on this code
Code:
public event_new_round()
{
    round++
    new players[32], player, pnum;
    get_players(players, pnum, "a");
    for(new i = 0; i < pnum; i++)
    {
        player = players[i];
        if(get_user_flags(player) & ADMIN_LEVEL_H)
        {

        if (!get_pcvar_num(g_menu_active))
            return PLUGIN_CONTINUE
        
        if(round > 2)
        Showrod(player);
        
        set_user_maxspeed(id, 450.0);
        set_user_gravity(id, 800.0);<---- This is line 112
        set_user_rendering(id, kRenderFxNone, 0, 0, 0, kRenderTransAlpha, 255);
        set_user_footsteps(id, 1);
        
        
        }
    }
    return PLUGIN_HANDLED
}
Amx Compiler :

Code:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

Error: Undefined symbol "id" on line 112
Warning: Expression has no effect on line 112
Error: Expected token: ";", but found ")" on line 112
Error: Invalid expression, assumed zero on line 112
Error: Too many error messages on one line on line 112

Compilation aborted.
4 Errors.
Could not locate output file C:\Program Files\AMX Mod X\amxxstudio\Untitled.amx (compile failed).
Please Help
Sorry my english
qUneT 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 00:18.


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