Jump to content

Anti hydra/hunter shoot


IstuntmanI

Recommended Posts

Anti hydra/hunter shoot

[o]Descriere:

          - Este un Mini-FS care nu lasa pe nimeni sa traga cu hydra sau hunter.

[o]Poza:

samp000u.png

[o]Cum sa faci sa apara doar la cei care nu au admin:

          - exemplu pentru LuxAdmin:

Inlocuiti

if(newkeys & KEY_FIRE || newkeys & KEY_ACTION && GetVehicleModel(GetPlayerVehicleID(playerid)) == 520 || GetVehicleModel(GetPlayerVehicleID(playerid)) == 425)
	{
	    ShowPlayerDialog(playerid, 9999,DIALOG_STYLE_MSGBOX,"Don't shoot with hunter/hydra","--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\
		         \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\t\t\t\t\t\tYou can't shoot with hunter or hydra\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","Ok","Ok");
	}
cu
if(AccInfo[playerid][Level] == 0)
	{
		if(newkeys & KEY_FIRE || newkeys & KEY_ACTION && GetVehicleModel(GetPlayerVehicleID(playerid)) == 520 || GetVehicleModel(GetPlayerVehicleID(playerid)) == 425)
		{
		    ShowPlayerDialog(playerid, 9999,DIALOG_STYLE_MSGBOX,"Don't shoot with hunter/hydra","--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\
			         \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\t\t\t\t\t\tYou can't shoot with hunter or hydra\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","Ok","Ok");
		}
	}

[o]Download:

          - .pwn: http://solidfiles.com/d/dfaa/

          - Arhiva: http://solidfiles.com/d/9721/

N-am avut ce sa fac, si am creeat acest FS simplu :D.

Link to comment
Share on other sites

if(newkeys & KEY_FIRE || newkeys & KEY_ACTION && GetVehicleModel(GetPlayerVehicleID(playerid)) == 520 || GetVehicleModel(GetPlayerVehicleID(playerid)) == 425)
   {
       ShowPlayerDialog(playerid, 9999,DIALOG_STYLE_MSGBOX,"Don't shoot with hunter/hydra","--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\
               \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\t\t\t\t\t\tYou can't shoot with hunter or hydra\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","Ok","Ok");
   }
Decat sa folosesti un string atat de lung, care arata si urat pe deasupra. Mai bine faci asat. Un loop sa duplicheze "-" de 254 ori( Is exact cat ai tu le-am numarat cu printf("%d",strlen("---...") );
new S[ 270 ],S2[ 50 ],S3[ sizeof( S ) + sizeof( S2 ) + 20 ];
for ( new O = 0; O < 254; O++ )format( S, sizeof( S ), "%s-",S);
for ( new O = 0; O < 30; O++ )format( S2, sizeof( S2 ), "%s\n",S2);
format( S3, sizeof ( S3 ), "%s%s\t\t\t\t\t\t\tYou can't shoot with hunter or hydra%s",S,S2,S2);
ShowPlayerDialog(playerid, 9999,DIALOG_STYLE_MSGBOX,"Don't shoot with hunter/hydra",S3,"Ok","Ok");
Asa ca ar veni
if(newkeys & KEY_FIRE || newkeys & KEY_ACTION && GetVehicleModel(GetPlayerVehicleID(playerid)) == 520 || GetVehicleModel(GetPlayerVehicleID(playerid)) == 425)
{
    new S[ 270 ],S2[ 50 ],S3[ sizeof( S ) + sizeof( S2 ) + 20 ];
    for ( new O = 0; O < 254; O++ )format( S, sizeof( S ), "%s-",S);
    for ( new O = 0; O < 30; O++ )format( S2, sizeof( S2 ), "%s\n",S2);
    format( S3, sizeof ( S3 ), "%s%s\t\t\t\t\t\t\tYou can't shoot with hunter or hydra%s",S,S2,S2);
    ShowPlayerDialog(playerid, 9999,DIALOG_STYLE_MSGBOX,"Don't shoot with hunter/hydra",S3,"Ok","Ok");
}

Link to comment
Share on other sites

Nu intelegeam ce drecu era cu textu pe mijlochaha.gif.Greu mi-am dat seama ca e un dialog  :D


Este simplu,funny,punky,etc.

Idee proprie,stil propriu,9/10


Se mai poate cu OnPlayerUpdate,pui return 0 cand apasa click(sau ce e) si e in hydra.Nu transmite semnalele la server si numai el vede ca trage  ;D

Link to comment
Share on other sites

if(newkeys & KEY_FIRE || newkeys & KEY_ACTION && GetVehicleModel(GetPlayerVehicleID(playerid)) == 520 || GetVehicleModel(GetPlayerVehicleID(playerid)) == 425)
   {
       ShowPlayerDialog(playerid, 9999,DIALOG_STYLE_MSGBOX,"Don't shoot with hunter/hydra","--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\
               \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\t\t\t\t\t\tYou can't shoot with hunter or hydra\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","Ok","Ok");
   }
Decat sa folosesti un string atat de lung, care arata si urat pe deasupra. Mai bine faci asat. Un loop sa duplicheze "-" de 254 ori( Is exact cat ai tu le-am numarat cu printf("%d",strlen("---...") );
new S[ 270 ],S2[ 50 ],S3[ sizeof( S ) + sizeof( S2 ) + 20 ];
for ( new O = 0; O < 254; O++ )format( S, sizeof( S ), "%s-",S);
for ( new O = 0; O < 30; O++ )format( S2, sizeof( S2 ), "%s\n",S2);
format( S3, sizeof ( S3 ), "%s%s\t\t\t\t\t\t\tYou can't shoot with hunter or hydra%s",S,S2,S2);
ShowPlayerDialog(playerid, 9999,DIALOG_STYLE_MSGBOX,"Don't shoot with hunter/hydra",S3,"Ok","Ok");
Asa ca ar veni
if(newkeys & KEY_FIRE || newkeys & KEY_ACTION && GetVehicleModel(GetPlayerVehicleID(playerid)) == 520 || GetVehicleModel(GetPlayerVehicleID(playerid)) == 425)
{
    new S[ 270 ],S2[ 50 ],S3[ sizeof( S ) + sizeof( S2 ) + 20 ];
    for ( new O = 0; O < 254; O++ )format( S, sizeof( S ), "%s-",S);
    for ( new O = 0; O < 30; O++ )format( S2, sizeof( S2 ), "%s\n",S2);
    format( S3, sizeof ( S3 ), "%s%s\t\t\t\t\t\t\tYou can't shoot with hunter or hydra%s",S,S2,S2);
    ShowPlayerDialog(playerid, 9999,DIALOG_STYLE_MSGBOX,"Don't shoot with hunter/hydra",S3,"Ok","Ok");
}

Tu numai complicat stii sa faci ? Eu am bagat - pana cand s-a umplut ecranul :]]

Foarte tare 10/10  ;) ;D

=- link=topic=7302.msg45358#msg45358 date=1289578425]

Frumusel si funny!

Am crezut ca l-ai pus pe ala modificat de mine si facut in 3 linii :))

Nu intelegeam ce drecu era cu textu pe mijlochaha.gif.Greu mi-am dat seama ca e un dialog  :D


Este simplu,funny,punky,etc.

Idee proprie,stil propriu,9/10


Se mai poate cu OnPlayerUpdate,pui return 0 cand apasa click(sau ce e) si e in hydra.Nu transmite semnalele la server si numai el vede ca trage  ;D

ty,nu stiam asta xD, credeam ca tot o vad toti, o sa bag return 0 :D

guud

Ty all :D

Link to comment
Share on other sites

  • 2 weeks later...

Era bine daca puneai si la rhino :)

Ti-e greu sa adaugi un || si sa bagi un nou check pentru Rhino?

Na ma lenese, ia de aici

if(newkeys & KEY_FIRE || 
newkeys & KEY_ACTION &&
GetVehicleModel(GetPlayerVehicleID(playerid)) == 520 || 
GetVehicleModel(GetPlayerVehicleID(playerid)) == 425 ||
GetVehicleModel(GetPlayerVehicleID(playerid)) == 432)
{
    new S[ 270 ],S2[ 50 ],S3[ sizeof( S ) + sizeof( S2 ) + 20 ];
    for ( new O = 0; O < 254; O++ )format( S, sizeof( S ), "%s-",S);
    for ( new O = 0; O < 30; O++ )format( S2, sizeof( S2 ), "%s\n",S2);
    format( S3, sizeof ( S3 ), "%s%s\t\t\t\t\t\t\tYou can't shoot with hunter,hydra or rhino%s",S,S2,S2);
    ShowPlayerDialog(playerid, 9999,DIALOG_STYLE_MSGBOX,"Don't shoot with hunter/hydra/rhino",S3,"Ok","Ok");
}

]

Link to comment
Share on other sites

1/5 .. nu imi place deoarece nu mai poti face un event akm..daca nu-ti da voie sa tragi...etc...dar fiiecare cu parerile lui..

LoL frate ai facut spam pana ai facut 100 de posturi :|

Cum poti sa ii dai 1/5 :| fs il foloseste cine vrea nu oricine daca vrei sa nu mai fie mult dm pe srv il iei daca nu nu

16189165.gifrastamaunbydeejaylobo1.gifsmileysw0181.gif

xmsok6ay41.gif

Link to comment
Share on other sites

1/5 .. nu imi place deoarece nu mai poti face un event akm..daca nu-ti da voie sa tragi...etc...dar fiiecare cu parerile lui..

Asta e scriptu "mama",de acuma tu il editezi sa iti mearga pt eventuri si alte kkt-uri!

Si tu esti in "+" ca nici nu stii pentru ce este acest script  ;)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Similar Content

    • By Tican Daniel Andrei
      Salutare, am venit cu o cerință ceva mai "imposibilă" din punctul ăsta de vedere. Am văzut recent pe o comunitate de SA:MP că aveau un fel de Script care bloca modurile Cleo (.cs) și fișierele .exe selectate de către serverul respectiv și pur și simplu lăsau jucătorii cu modpack descărcat de unde aveau ei pagina lor de moduri, lucrul ăsta s-ar putea face din script sau e ceva mai avansat și mai complicat ? 
      Dacă s-ar putea face astfel de script,mi-ați putea spune personal printr-un mesaj privat cât ar costa complexitatea unui script de genul acesta? Mulțumesc și seară plăcută vă doresc! 
    • By Quang Minh
      Is there any way to prevent cleo wallhack and nametag?
      I tried hiding my name but it didn't work
    • By TheGodfather
      Salut, as vrea sa pun pe serverul meu un sistem de anti spam care sa fie pentru char, indiferent ca e doar scris sau comenzi. Am facut un timer doar ca indiferent ce as scrie imi tot spune ca trebuie sa astept 3 secunde chiar daca nu am mai scris nicio comanda pana atunci.
    • By iulirpg
      Salut azi am facut un anti troll hack ce cred eu ca-i folositor. Mai multe detali aici.  
      Descarcare #1  https://www.mediafire.com/file/xog95wg4hm2r5ob/cheats.pwn/file
    • By VenoMarius
      ../modules/anti-cheats.pwn(1199) : error 017: undefined symbol "SetPlayerTimerEx_"
      ../modules/anti-cheats.pwn(1913) : error 017: undefined symbol "SetPlayerTimerEx_"
      ../modules/anti-cheats.pwn(3462) : error 017: undefined symbol "SetPlayerTimerEx_"
      ../modules/anticheats.pwn(18) : error 017: undefined symbol "FKicked"
      ../modules/anticheats.pwn(18) : warning 215: expression has no effect
      ../modules/anticheats.pwn(18) : error 001: expected token: ";", but found "]"
      ../modules/anticheats.pwn(18) : error 029: invalid expression, assumed zero
      ../modules/anticheats.pwn(18) : fatal error 107: too many error messages on one line
      Compilation aborted.
      Pawn compiler 3.10.8              Copyright (c) 1997-2006, ITB CompuPhase
       
      includes:
      #include "../modules/anti-cheats.pwn"
      #include "../modules/anticheats.pwn"
       
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.