- //----------------------------------------------------------------------------//
- #include <a_samp>
- #include <float>
- #define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
- //----------------------------------------------------------------------------//
- #if defined FILTERSCRIPT
- //----------------------------------------------------------------------------//
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Doble Explosion de Coche y Bomba Humana by Marcos Huck");
- print("--------------------------------------\n");
- return 1;
- }
- //----------------------------------------------------------------------------//
- public OnFilterScriptExit()
- {
- return 1;
- }
- //----------------------------------------------------------------------------//
- #else
- //----------------------------------------------------------------------------//
- main()
- {
- print("\n----------------------------------");
- print(" Doble Explosion de Coche y Bomba Humana by Marcos Huck");
- print("----------------------------------\n");
- }
- //----------------------------------------------------------------------------//
- #endif
- //----------------------------------------------------------------------------//
- public OnVehicleDeath(vehicleid, killerid)
- {
- new Float:X, Float:Y, Float:Z;
- GetVehiclePos(vehicleid,X, Y, Z);
- CreateExplosion(X,Y,Z,6,10000);
- CreateExplosion(X,Y,Z,6,10000);
- CreateExplosion(X,Y,Z,6,10000);
- CreateExplosion(X,Y,Z,6,10000);
- CreateExplosion(X,Y,Z,6,10000);
- CreateExplosion(X,Y,Z,6,10000);
- CreateExplosion(X,Y,Z,6,10000);
- CreateExplosion(X,Y,Z,6,10000);
- CreateExplosion(X,Y,Z,6,10000);
- CreateExplosion(X,Y,Z,6,10000);
- CreateExplosion(X,Y,Z,6,10000);
- CreateExplosion(X,Y,Z,6,10000);
- return 1;
- }
- //----------------------------------------------------------------------------//
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- //----------------------------------------------------------------------------//
- dcmd(bombahumana,12,cmdtext);
- //----------------------------------------------------------------------------//
- return 0;}
- //----------------------------------------------------------------------------//
- dcmd_bombahumana(const playerid,const params[]){
- #pragma unused params
- new Float:X, Float:Y, Float:Z;
- GetPlayerPos(playerid,X,Y,Z);
- CreateExplosion(X,Y,Z,6,10000);
- CreateExplosion(X,Y,Z,6,10000);
- CreateExplosion(X,Y,Z,6,10000);
- CreateExplosion(X,Y,Z,6,10000);
- return 1; }
- //----------------------------------------------------------------------------//
Posted by MaRcOsWeB on Mon 1 Sep 23:08
report abuse | download | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.