Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* --------------------------------------->> New Auto Two Shoot <<------------------------------------- SA:MP v0.3.7
- Spanish / Español:
- -> CREDITOS: <-
- -> D4Rk$iD3: Desarrollo e idea del código.
- • Puedes hacer Tu modificacion libremente siempre y cuándo estés respetando y manteniendo los créditos.
- • Función: Hacer automáticamente el Two Shoot mediante la activación de un comando, para los que les da flojera hacerlo manualmente •
- • Modo de uso: Mantén siempre presionada la mira, dispara, espera de 1 a 2 segundos, dispara, espera de 1 a 2 segundos, y así, sucesivamente...
- ---------------> Video: https://www.youtube.com/watch?v=rjfdjDbxh3Q&feature=youtu.be
- English/Inglés:
- • NO Post this filterscript elsewhere SAMP and pose as the creator of the code. • -> Code Created By d4rk$iD3 <-
- IMPORTANT !!!
- READ CAREFULLY TO AVOID become a thief spaces ABSOLUTELY the Credit Theft or publication of This filterscript without my permission.
- -> CREDITS: <-
- -> d4rk$iD3: Development and idea of the code.
- • Function: Automatically do cbug by activating a command, for those who do not know or do it manually gives laziness.
- • Usage: Keep always look down, shoot, waiting for 1 to 2 seconds, shoot, waiting for 1 to 2 seconds, and so on successively.
- ----------------> Video: https://www.youtube.com/watch?v=rjfdjDbxh3Q&feature=youtu.be
- */
- #include <a_samp>
- #pragma tabsize 0
- #define KEY_AIM 132
- #define green 0x33FF33AA
- #define red 0xFF0000AA
- new twoshoot[MAX_PLAYERS];
- #if defined FILTERSCRIPT
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" [Fs] Auto Two Shoot by D4Rk$iD3");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- #endif
- public OnPlayerConnect(playerid)
- {
- twoshoot[playerid] = 0;
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- twoshoot[playerid] = 0;
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if(strcmp(cmdtext,"/twoshoot", true)==0) {
- if(twoshoot[playerid] == 0) {
- twoshoot[playerid] = 1;
- GivePlayerWeapon(playerid, 26, 3500);
- SendClientMessage(playerid,green,"[INFO]: Has Activado El modo: 'Auto Faster Two Shoot Bug' (Sawn-Off)");
- }
- else
- if(twoshoot[playerid] == 1) {
- twoshoot[playerid] = 0;
- SendClientMessage(playerid,red,"[INFO]: Has Desactivado El modo: 'Auto Faster Two Shoot'.");
- }
- return 1;
- }
- return 0;
- }
- public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
- {
- if(newkeys == KEY_AIM && twoshoot[playerid] == 1 && GetPlayerWeapon(playerid) == 26) {
- ResetPlayerWeapons(playerid);
- if(newkeys & KEY_FIRE && twoshoot[playerid] == 1) {
- GivePlayerWeapon(playerid, 26, 3500);
- }
- }
- return 1;
- }
Add Comment
Please, Sign In to add comment