Raised This Month: $ Target: $400
 0% 

Pawn preprocessor


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
GuskiS
Veteran Member
Join Date: Aug 2007
Location: Latvia
Old 07-03-2014 , 10:11   Pawn preprocessor
Reply With Quote #1

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?
__________________
Finished mods:
Trouble in Terrorist Town
MurderMod
The Hidden
Cowboys vs Indians
JailBreak Supreme
Survival Madness
GuskiS 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