Raised This Month: $ Target: $400
 0% 

Pawn preprocessor


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Porta0123
Member
Join Date: Apr 2014
Location: Spain
Old 07-03-2014 , 10:19   Re: Pawn preprocessor
Reply With Quote #2

Quote:
Originally Posted by GuskiS View Post
PHP Code:
stock cs_reset_user_maxspeed(id)
{
    static 
Float:maxspeed;
    switch(
get_user_weapon(id))
    {
        case 
CSW_SG550CSW_AWPCSW_G3SG1maxspeed 210.0;
        case 
CSW_M249maxspeed 220.0;
        case 
CSW_AK47maxspeed 221.0;
        case 
CSW_M3CSW_M4A1maxspeed 230.0;
        case 
CSW_SG552maxspeed 235.0;
        case 
CSW_XM1014CSW_AUGCSW_GALILCSW_FAMASmaxspeed 240.0;
        case 
CSW_P90maxspeed 245.0;
        case 
CSW_SCOUTmaxspeed 260.0;
        default: 
maxspeed 250.0;
    }
    
#if defined _fun_included
    
set_user_maxspeed(idmaxspeed);
    
#elseif defined _engine_included
    
entity_set_float(idEV_FL_maxspeedmaxspeed);
    
#else
    
set_pev(idpev_maxspeedmaxspeed);
    
#endif

This code gives me error: undefined symbol "set_user_maxspeed", but includes look like this:
PHP Code:
#include <amxmodx>
#include <engine>
#include <fakemeta>
#include <hamsandwich>
#include <cstrike>
#include <jailbreak> // my include which includes that stock 
What is the problem?
---------------------------
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2013 ITB CompuPhase, AMX Mod X Team

Header size: 404 bytes
Code size: 444 bytes
Data size: 40 bytes
Stack/heap size: 16384 bytes; estimated max. usage=42 cells (168 bytes)
Total requirements: 17272 bytes
Done.
--------------------------

i put the same code ... and it dont show any error
Porta0123 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 21:16.


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