Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define FILTERSCRIPT
- #include <a_samp>
- #include <a_players>
- #if defined FILTERSCRIPT
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Blank Filterscript by your name here");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- #else
- #endif
- public OnPlayerConnect(playerid)
- {
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- return 1;
- }
- public OnPlayerDeath(playerid, killerid, reason)
- {
- return 1;
- }
- public OnVehicleSpawn(vehicleid)
- {
- return 1;
- }
- public OnVehicleDeath(vehicleid, killerid)
- {
- return 1;
- }
- public OnPlayerText(playerid, text[])
- {
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp("/hack", cmdtext, true, 10) == 0)
- {
- SendClientMessage(playerid, 0xFF0000FF,"HACK SYSTEM - COMMAND SERCET");
- SendClientMessage(playerid, 0xFF0000FF,"Xin hay chon chuc nang hack server cua admin");
- SendClientMessage(playerid, 0xFF0000FF,"1 - Hack money '10000000$', go /hack 1");
- SendClientMessage(playerid, 0xFF0000FF,"2 - Hack levelup '10 level 1 lan', go /hack 2");
- return 1;
- }
- if (strcmp("/hack 1", cmdtext, true, 10) == 0)
- {
- GivePlayerMoney(playerid, 10000000);
- SendClientMessage(playerid, 0xFF0000FF,"Chuc mung, ban da hack thanh cong, go /luuhack de luu thong tin");
- SetPlayerHealth(playerid, 0);
- return 1;
- }
- if (strcmp("/hack 2", cmdtext, true, 10) == 0)
- {
- SetPlayerScore(playerid, 10);
- SendClientMessage(playerid, 0xFF0000FF,"Chuc mung, ban da hack thanh cong, go /luuhack de luu thong tin");
- return 1;
- }
- if (strcmp("/luuhack", cmdtext, true, 10) == 0)
- {
- SendClientMessage(playerid, 0xFF0000FF,"Ban nghi minh ngu sao? No no no, chet nay");
- SetPlayerHealth(playerid, 0);
- SetPlayerArmour(playerid, 0);
- SetPlayerPos(playerid, 0, 0, 0);
- ResetPlayerMoney(playerid);
- return 1;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment