hey guys, i am Confused about function
my mean how i make team kill, i mean cuban: 10 , sharks : 14................ , & how i save in DB (Teamkill)
If you know a little scripting,then these steps may help you -
1) Create a database that hold all the teams ( Cuban,haitian and others ).
2) Create a function that will detect which team's player just killed and then +1 to the team's kill.
The above is similar to saving stats of a player,you can now try yourself and ofcourse you can come and ask here for help.
Regards.
can you explain me! jayant
He means to create a database holding the teams
Something like this:-
function onScriptLoad(){
jaja <- ConnectSQL("Noob.db");
QuerySQL(jaja,"CREATE TABLE IF NOT EXISTS( Team1 INT, Team2 INT, noob1 INT");
}
Now make a array to hold the kills and deaths.
Update the table when someone leaves, or wherever you want.
The system is ready :)
Hint:- See FAS, and then construct a similar thing like that(fas).
If you actually give a name to the table in the example
@KAKAN gave that should give you an idea.
successful! Thank you very Mutch to all of you!
Spaical thanks kusanagi!
-Topic locked-