SA-MP Forums Archive
gAdmin question. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: gAdmin question. (/showthread.php?tid=179780)



gAdmin question. - Face9000 - 28.09.2010

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.


Re: gAdmin question. - LarzI - 28.09.2010

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;
}



Re: gAdmin question. - Face9000 - 28.09.2010

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.



Re: gAdmin question. - Mauzen - 28.09.2010

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


Re: gAdmin question. - Gh0sT_ - 28.09.2010

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