25.01.2010, 17:40
OK i figer out how my score will load...
I tryed this:
And score save/load
Can anyone fill that to work with kills..
I really need this soon is posbily i will pay if i need
I tryed this:
Quote:
//ontop of your script new CashScoreOld; //ongamemodeinit SetTimer("ScoreUpdate", 9999, 1); //anywhere forward ScoreUpdate(); public ScoreUpdate() { new CashScore; new name[MAX_PLAYER_NAME]; for(new i=0; i<MAX_PLAYERS; i++) { if (IsPlayerConnected(i)) { GetPlayerName(i, name, sizeof(name)); CashScore = GetPlayerMoney(i); SetPlayerScore(i, CashScore); if (CashScore > CashScoreOld) { CashScoreOld = CashScore; } } } } |
Can anyone fill that to work with kills..
I really need this soon is posbily i will pay if i need