Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×

Recommended Posts

Posted

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.

Posted

Frumusel si funny!

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

logo.png

ATENTIE!!! Nu imi trimiteti mesaje private care au legatura cu scriptingul. NU mai scriptez.

Posted

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");
}

Posted

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

Posted

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

Posted

Pentru ladmin puteti face??

citeste exemplul:

if(AccInfo[playerid][Level] == 0) de la luxadmin inlocuiesti cum e la ladmin ...

EDIT: Unbugged :D

Posted

Incerc sa merg da tot imi apare asta pe ecran chiar cu omu daca sunt apasa ctrl imi apare

downloadeaza-l iar, ca am observat si eu bugul pe urma, si l-am facut azi :D
Posted

stuntman-=!!" post="45373" timestamp="1289617783"]

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

Taci fa eu fac orice ce este mai practicabil.

  • 2 weeks later...
Posted

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");
}

]

Posted

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

Posted

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..

Altu cu rssu...mirosi ma puti a rss!
Posted

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  ;)

Posted

5/5. Ii frumos scriptu. Bravo stuntman.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 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.