pls help
#1

how can i make normal score not score with the amount money u have can u look i use lvdm


Reply
#2

This tut will help you.

https://sampforum.blast.hk/showthread.php?tid=167656

If you have these lines - remove them
Reply
#3

Dizzle, i cant find any of those lines help pls (
Reply
#4

Are you sure you cant find this ?

Код:
SetPlayerScore(playerid, GetPlayerMoney(playerid));
Check your FS's, GM... You got to have this line to show the cash instead of the score...

Press Ctrl + F and paste it, or Ctrl + F and type SetPlayerScore and paste the line here !?
Reply
#5

Код:
public MoneyGrubScoreUpdate()
{
	new CashScore;
	new name[MAX_PLAYER_NAME];
	//new string[256];
	for(new i=0; i<MAX_PLAYERS; i++)
	{
		if (IsPlayerConnected(i))
		{
			GetPlayerName(i, name, sizeof(name));
   			CashScore = GetPlayerMoney(i);
			SetPlayerScore(i, CashScore);
			if (CashScore > CashScoreOld)
			{
				CashScoreOld = CashScore;
				//format(string, sizeof(string), "$$$ %s is now in the lead", name);
				//SendClientMessageToAll(COLOR_YELLOW, string);
			}
		}
	}
Reply
#6

You have to delete these lines, thats all
Reply
#7

all of the lines i just put ?
Reply
#8

Yes, comment/delete all of them
Reply
#9

i get this error when i delete all of them


C:\Users\Bojan\Desktop\LVDM\gamemodes\lvdm.pwn(812 ) : warning 203: symbol is never used: "CashScoreOld"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Warning.
Reply
#10

CTRL + F > Search for CashScoreOld > Remove it.
(This is probably a variable used for updating the player's cash, which you removed, so it's not of any use anymore)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)