Raised This Month: $ Target: $400
 0% 

CheckPoint and GoCheck


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
RuRuRu612754
Senior Member
Join Date: Sep 2011
Old 06-21-2012 , 08:17   Re: CheckPoint and GoCheck
Reply With Quote #9

@GordonFreeman (RU)

thanks for answer
but, compile error

PHP Code:
undefined symbol "pev_angle"
expression has no effect
expected token 
";"but round ")"
invalid expressionassumed zero
too many error messages on ona line 
PHP Code:

#include <amxmodx>
#include <fakemeta>

new save[32][3]
new 
Float:angles[33][3]
new 
save_number[32]
new 
move_number[32]

public 
plugin_init()
{
    
register_clcmd("say save""cmd_save")
    
register_clcmd("say move""cmd_move")
}

public 
cmd_save(id)
{
    if(
is_user_alive(id))
    {
        
pev(idpev_originsave[id])
        
pev(idpev_angleangles[id])

        
save_number[id]++

        new 
prefix[128]
        
get_pcvar_string(amxx_timer_prefixprefix127)

        
client_print(idprint_chat"Save - %i"save_number[id])
    }
}

public 
cmd_move(id)
{
    if(
is_user_alive(id))
    {
        
set_pev(idpev_originsave[id])
        
set_pev(idpev_angleangles[id])

        
move_number[id]++

        
client_print(idprint_chat"Move - %i"move_number[id])
    }


Last edited by RuRuRu612754; 06-21-2012 at 08:21.
RuRuRu612754 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 06:08.


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