Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- /*********************************************
- * Include WS - Money Hacker *
- * (c) Copyright 2012 by WeenSoares *
- * *
- * @Autor : WeenSoares *
- * @Data : 14 de janeiro de 2012 *
- * *
- * *
- **********************************************/
- /*------------------------------------
- native GivePlayerCash(playerid, quantia);
- -------------------------------------*/
- forward CheckMoney();
- stock GivePlayerCash(playerid, quantia)
- {
- GivePlayerMoney(playerid, quantia);
- SetPVarInt(playerid, "Dinheiro", GetPlayerMoney(playerid));
- }
- public CheckMoney()
- {
- new strmsg[128], pName[MAX_PLAYER_NAME];
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if(GetPlayerMoney(i) > GetPVarInt(i, "Dinheiro"))
- {
- GetpName(i, pName, sizeof(pName));
- format(strmsg, sizeof(strmsg), "[WS Money Hacker]: O Player %s foi banido por fazer money hacker !", pName);
- SendClientMessageToAll(0xE3E3E3FF, strmsg);
- Ban(i);
- }
- }
- }
Add Comment
Please, Sign In to add comment