SA-MP Forums Archive
server scor - 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)
+--- Thread: server scor (/showthread.php?tid=291849)



server scor - hitman% - 21.10.2011

hi all
guys i need you are help in satdm server when i kill an player me not getting score can any one tell how to fix


Re: server scor - SmiT - 21.10.2011

pawn Код:
public OnPlayerDeath( playerid, killerid, reason )
{
    if ( killerid != INVALID_PLAYER_ID )
    {
        SetPlayerScore( killerid, GetPlayerScore ( killerid ) + 1 );
    }
    return true;
}



Re: server scor - hitman% - 21.10.2011

oh thnz


Re: server scor - hitman% - 22.10.2011

But can it save score?


Re: server scor - [HiC]TheKiller - 22.10.2011

Quote:
Originally Posted by hitman%
Посмотреть сообщение
But can it save score?
Use a saving system. You can read a few of these tutorials
https://sampforum.blast.hk/showthread.php?tid=273088
https://sampforum.blast.hk/showthread.php?tid=154852
https://sampforum.blast.hk/showthread.php?tid=160971
https://sampforum.blast.hk/showthread.php?tid=290320


Re: server scor - hitman% - 22.10.2011

we need one more help what happen i dont know wen i put create object soem object was not loading


Re: server scor - hitman% - 22.10.2011

and whoch all create object i put last in game mod it is not laoding
i thign you can help


Re: server scor - hitman% - 23.10.2011

Quote:
Originally Posted by [HiC]TheKiller
Посмотреть сообщение
But.... i just need code or something like that to put score