• Welcome to Vice City Multiplayer.
 

carbombs

Started by xerox, December 14, 2010, 02:05:10 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

xerox

i found PsySQLite 1.1 and PsyScript 1.2

can anyone do the carbombs script in squirrel or pawn for me please ?

i put the files on a webspace, can they be stored here for people ?

PsySQLite 1.1 
http://www.mediafire.com/?fdbz3zwnuyeucgb


PsyScript 1.0
http://www.mediafire.com/?lvk53goo7j220a1

Devian

Quote from: xerox on December 14, 2010, 02:05:10 AM
can anyone do the carbombs script in squirrel or pawn for me please ?

i don't know if it's exactly what you looking for.but maybe can help,or based on it you can create your own!

when you're inside the vehicle:
     if ( cmd == "kill" )
     {
 
          local veh = player.Vehicle;

          if ( !veh ) MessagePlayer( "Error: You are on foot.", player );
          else MessagePlayer( "Engine Killed " , player );
          veh.Health = 0;
          }



explode vehicle by ID:
          if ( cmd == "explode" )
     {

          text = text.tointeger();

          local veh = FindVehicle( text ), pos = player.Pos;

  if ( veh ) veh.Health = 0;
     }
}


it's a basic but you can implement msg or other functions.


Devian

xerox

its not excatly what i was looking for, but its a step in the right direction and will help me allot i think.

[AoD]NC

That's the only way how to do a car bomb. You can make a command, which saves the ID of a car, where the bomb should be planted and if someone enter it, ka-boom! When I was scripting, I wanted to do that, but variables doesn't like me :p.

xerox