kevin11 Posted June 12, 2010 Posted June 12, 2010 function blowVehicle ( player, command, someguy ) if someguy then local temp = getPlayerFromName(someguy) if temp then blowVehicle ( source ) outputChatBox("" ..someguy.. " has been blown", getRootElement(), 255, 0, 0) end end end addCommandHandler ( "boom", blowVehicle ) i tried making a blow script with command !boom player name but i dont know how to make the players car blow
Dark Dragon Posted June 13, 2010 Posted June 13, 2010 you might want to get someguy's vehicle to blow, not 'source' Loads of fun for free! Also a lot of fun for free!
Castillo Posted June 13, 2010 Posted June 13, 2010 here it is fixed function blowVeh ( player, command, someguy ) if someguy then local temp = getPlayerFromName(someguy) if temp then local theVehicle = getPedOccupiedVehicle ( temp ) if theVehicle then blowVehicle ( theVehicle ) outputChatBox("" ..someguy.. " has been blown", getRootElement(), 255, 0, 0) end end end end addCommandHandler ( "boom", blowVeh ) San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
[KoG]Rouche Posted June 13, 2010 Posted June 13, 2010 Thanks Owner of Killer of GTA (Old =KoG= Servers)
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now