22.08.2015, 15:14
I do not wanted to make a message for this one
after i got the cash from ^ it send me a message saying
only for the ones who hacking the money.
Код:
PlayerInfo[playerid][pCash] = PlayerInfo[playerid][pCash] + trucker[End][cost];
Код:
format(string, 128, "%s possbile hack (Possible Money Hacks)", pName, playerid);
Код:
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); } } }