Raised This Month: $ Target: $400
 0% 

(KREEDZ) How to check player CPs, TPs?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
bazhenov93
Veteran Member
Join Date: Oct 2010
Old 04-14-2012 , 15:24   (KREEDZ) How to check player CPs, TPs?
Reply With Quote #1

I edited this code, and I don't know how check if player used 0 checkpoints & 0 teleports

PHP Code:
public show_finish_message(idFloat:kreedztime)
{
    new 
name[32]
    new 
imin,isec,imswpn get_user_weaponid 
    
get_user_name(idname31)
    
kreedztime get_gametime() - timer_time[id]
    
imin floatround(kreedztime 60.0floatround_floor)
    
isec floatround(kreedztime imin 60.0,floatround_floor)
    
ims floatround( ( kreedztime - ( imin 60.0 isec ) ) * 100.0floatround_floor )
    
    
ColorChat(0GREEN"%s^1 finished with ^4%s ^3in^4 %02i:%02i.%02i ^3(^1 CPs: ^4%d^3 | ^1 TPs: ^4%d^3",name,g_weaponsnames[wpn],imin,isec,imschecknumbers[id], gochecknumbers[id])
    }
    
    if(
checknumbers[id0], gochecknumbers[id0// here need to edit
    
{
    
ColorChat(0GREEN"%s finished with ^4%s ^3in^4 %02i:%02i.%02i ^3without checkpoints!",name,g_weaponsnames[wpn],imin,isec,imschecknumbers[id], gochecknumbers[id])
    

bazhenov93 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 07:46.


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