Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- FILTERSCRIPT CRIADO POR : FÁBIO STRALIOTI
- SCRIPTER FÓRUM GTA TORCIDAS !
- ******** ************ ********* **** *************
- ******** ************ ********* **** *************
- **** **** **** **** ** **** ***** *****
- **** **** **** **** ** **** ***** *****
- ******** ************ ********* **** ***** *****
- ******** ************ ********* **** ***** *****
- **** **** **** **** ** **** ***** *****
- **** **** **** ********* **** *************
- **** **** **** ********* **** *************
- */
- #include <a_samp>
- #include <zcmd>
- enum PlayerAdmin
- {
- Level
- }
- new pAdmin[MAX_PLAYERS][PlayerAdmin];
- #define FILTERSCRIPT
- #if defined FILTERSCRIPT
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print("Filterscript criado por : Fábio Stralioti");
- print("www.equipegtatorcidas.com");
- print("--------------------------------------\n");
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- SendClientMessage(playerid, -1,"Este servidor usa o ant-xiter em filterscript do Fábio Stralioti");
- SendClientMessage(playerid, -1,"SCRIPTER'S GTA TORCIDAS");
- return 1;
- }
- public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
- {
- if(newkeys == KEY_FIRE)
- {
- new string[128], name[MAX_PLAYER_NAME];
- GetPlayerName(playerid, name, sizeof(name));
- format(string, sizeof(string), "O player %s apertou CTRL verifique-o", name);
- SendMessageToAdmins(-1,string);
- TogglePlayerControllable(playerid,0);
- }
- return true;
- }
- CMD:creditosfs(playerid)
- {
- SendClientMessage(playerid, -1,"Filterscript feito por : Fábio Stralioti");
- return 1;
- }
- stock SendMessageToAdmins(color,const string[])
- {
- for(new i = 0; i <= MAX_PLAYERS; i++)
- {
- if(IsPlayerConnected(i) == 1)
- {
- if(pAdmin[i][Level] >= 1)
- {
- SendClientMessage(i, color, string);
- }
- }
- }
- return 1;
- }
- #else
- #endif
Advertisement
Add Comment
Please, Sign In to add comment