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:34   Re: CheckPoint and GoCheck
Reply With Quote #10

compile has been resolved.

Save the position, Move the position
but, angle is not save and set.

PHP Code:
#include <amxmodx>
#include <fakemeta>

new save[32][3]
new 
Foot: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_anglesangles[id])

        
save_number[id]++

        
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_anglesangles[id])

        
move_number[id]++

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


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