Money Problems
#1

I do not wanted to make a message for this one
Код:
PlayerInfo[playerid][pCash] = PlayerInfo[playerid][pCash] +  trucker[End][cost];
after i got the cash from ^ it send me a message saying
Код:
format(string, 128, "%s possbile hack (Possible Money Hacks)", pName, playerid);
only for the ones who hacking the money.
Код:
if(GetPlayerMoney(playerid) != PlayerInfo[playerid][pCash])
    {
        GivePlayerMoney(playerid, -GetPlayerMoney(playerid));
        GivePlayerMoney(playerid, PlayerInfo[playerid][pCash]);
        // Player's a hacker, do whatever u want with him
        new string[180];
   	   	if (PlayerInfo[playerid][pAdmin] >= 3)
     	{
           for (new i; i < MAX_PLAYERS; i++)
	       {
               new pName[MAX_PLAYER_NAME];
               GetPlayerName(playerid, pName, sizeof(pName));
               format(string, 128, "%s possbile hack (Possible Money Hacks)", pName, playerid);
               SendClientMessage(i, -1, string);
	       }
	    }
    }
Reply


Messages In This Thread
Money Problems - by DerickClark - 22.08.2015, 15:14
Re: Money Problems - by Logofero - 22.08.2015, 15:31
Re: Money Problems - by DerickClark - 22.08.2015, 15:37
Re: Money Problems - by Logofero - 22.08.2015, 15:42
Re: Money Problems - by DerickClark - 22.08.2015, 15:45
Re: Money Problems - by Logofero - 22.08.2015, 15:53
Re: Money Problems - by DerickClark - 22.08.2015, 15:58

Forum Jump:


Users browsing this thread: 2 Guest(s)