OnPlayerGiveDemage..
#6

Quote:
Originally Posted by ]Rafaellos[
Посмотреть сообщение
In money, you use GetPlayerMoney, on score why don't use GetPlayerScore too?
Quote:
Originally Posted by iFiras
Посмотреть сообщение
Take a look at this for damage thing
https://sampforum.blast.hk/showthread.php?tid=330005
and for the score thing do this
Код:
public OnPlayerDisconnect(playerid, reason)
{
INI_WriteInt(File,"Score",PlayerInfo[playerid][pScore]);
return 1;
}
When player login
Код:
SetPlayerScore(playerid,INI_Int("Score"),PlayerInfo[playerid][pScore]);
+Rep if it works
Both didn't work, and iFiras, I got like 4 errors when I used your code..
How for gods sake do I save the score lol?
Reply


Messages In This Thread
OnPlayerGiveDemage.. - by CesarLT - 08.10.2013, 16:27
Re: OnPlayerGiveDemage.. - by SilentSoul - 08.10.2013, 16:36
Re: OnPlayerGiveDemage.. - by -Prodigy- - 08.10.2013, 16:41
Re: OnPlayerGiveDemage.. - by ]Rafaellos[ - 08.10.2013, 16:47
Re: OnPlayerGiveDemage.. - by iFiras - 08.10.2013, 16:52
Re: OnPlayerGiveDemage.. - by CesarLT - 08.10.2013, 17:02
Re: OnPlayerGiveDemage.. - by iFiras - 08.10.2013, 17:05
Re: OnPlayerGiveDemage.. - by CesarLT - 08.10.2013, 17:07
Re: OnPlayerGiveDemage.. - by Konstantinos - 08.10.2013, 17:11
Re: OnPlayerGiveDemage.. - by iFiras - 08.10.2013, 17:11

Forum Jump:


Users browsing this thread: 3 Guest(s)