gAdmin question.
#1

Hi all,i use gAdmin for my server and i've a question.

How to set the scoreboard update when user have +1 kill?

gAdmin have KILLS = SCORE.

Example: is user have 500$,there are 500 score.

How to set: 1 kill = 1 score?

Thanks.
Reply
#2

Delete everything which is setting and getting score, then do like this:

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    SetPlayerScore( killerid, GetPlayerScore( killerid ) + 1 );
    return true;
}
Reply
#3

Done but..

Код:
C:\Documents and Settings\Utente\Desktop\gAdmin.pwn(222) : fatal error 100: cannot read from file: "gAdmin\dfiles"

Compilation aborted.Pawn compiler 3.2.3664              Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#4

You are missing a file, be sure to unzip the whole gadmin stuff. Also subfolders
Reply
#5

Go ur server > pawno > pawno > gAdmin.pwn and compile
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)