server scor
#1

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
Reply
#2

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

oh thnz
Reply
#4

But can it save score?
Reply
#5

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
Reply
#6

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

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

But.... i just need code or something like that to put score
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)