Raised This Month: $ Target: $400
 0% 

hilfe !!!


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Sunnyboy0902
Member
Join Date: Aug 2005
Old 11-12-2009 , 12:57   hilfe !!!
Reply With Quote #1

brauche hilfe fuer mein score plugin:

#include <amxmodx>
#include <amxmisc>
#define PLUGIN "Team Score"
#define VERSION "1.0"
#define AUTHOR "|PJ|ShOrTy"
new ct_wins,t_wins
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event("HLTV", "event_new_round", "a", "1=0", "2=0")
register_event("TeamScore","event_teamscore", "a")
}
public event_new_round () {
client_print(0,print_center,"CT wins: %d T wins %d",ct_wins,t_wins)
}
public event_teamscore() {
new team[16],Float:score
read_data(1,team,15)
read_data(2,score)
if(equal(team,"CT"))
ct_wins=floatround(score)
if(equal(team,"TERRORIST"))
t_wins=floatround(score)
return PLUGIN_CONTINUE;
}
public restart_round()
score ???? = 0; wie lautet der befehl fuer reseten??da wenn keiner auf dem server
} ist,werden die runden weitergezaehlt.oder vllt so machen.erst
wenn 2 spieler auf dem server sind faengt der zaehler an.

wie schreib ich das in das plugin , damit der client print fuer t in rot ausgegeben wird und der fuer ct in blau.
bitte um hilfe!!!
__________________
Germany
Sunnyboy0902 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 13:43.


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