Raised This Month: $ Target: $400
 0% 

write_short money


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Nutu_
AlliedModders Donor
Join Date: Mar 2016
Location: Germany
Old 10-27-2022 , 08:38   write_short money
Reply With Quote #1

I'm using this
PHP Code:
public UpdateFrags(id){
    if(!
is_user_connected(id)){
        return;
    }      
    
set_pev(idpev_fragsgKillerPointsid ]);
    
message_begin(MSG_BROADCASTget_user_msgid("ScoreInfo"));
    
write_byte(id);
    
write_short(gKillerPointsid ]);
    
write_short(cs_get_user_deaths(id));
    
write_short(0);
    
write_short(1);
    
message_end();
}

public 
Event_ScoreInfo(){
    
UpdateFrags(read_data(1));

to change the kills into points, what i want to do is edit this and change the "Money" into points (in scoreboard) i searched but didnt found, i'd like the frags to be back and move the points to "Money" (in scoreboard)!
anyone? thanks
__________________
a simple act of caring creates an endless ripple.
Nutu_ is offline
 


Thread Tools
Display Modes

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 15:36.


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