Vice City Multiplayer
		VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: sseebbyy on March 11, 2012, 12:26:51 pm
		
			
			- 
				Give me a idea how to do in pawn a public named "OnVehicleRespawn"  :-\
 
 This need to detect when the vehicle is respawned.
 
 And.... Give me a idea (again) how to do in pawn a public named "OnplayerDecreaseHealth" :-\
 
 This need to detect when the hp of a player decreasing.
 
 
- 
				I think No its only is sql 
			
- 
				SQL does not mean squirrel.
 
 
 "SQL is a standard language for accessing and manipulating databases.
 What is SQL?
 
 -     SQL stands for Structured Query Language 
-     SQL lets you access and manipulate databases 
-     SQL is an ANSI (American National Standards Institute) standard
 "
 
 
 source here (http://www.w3schools.com/sql/sql_intro.asp)
 
 Back to the topic, check this out http://thijn.vrocker-hosting.co.uk/VCWiki/index.php/Callbacks (http://thijn.vrocker-hosting.co.uk/VCWiki/index.php/Callbacks)
 
 
- 
				Back to the topic, check this out http://thijn.vrocker-hosting.co.uk/VCWiki/index.php/Callbacks (http://thijn.vrocker-hosting.co.uk/VCWiki/index.php/Callbacks)
 
 
 Man... I know about this ! If I saw "OnVehicleRespawn" & "OnPlayerDecreaseHealth" in Callbacks list I have not opened this topic.  ::)
 
 What you understand from this mr. Shadow ? ???
 
 Give me a idea how to do in pawn a public named "OnVehicleRespawn"  :-\
 
 This need to detect when the vehicle is respawned.
 
 And.... Give me a idea (again) how to do in pawn a public named "OnplayerDecreaseHealth" :-\
 
 This need to detect when the hp of a player decreasing.
 
 
 
 
- 
				anybody ? 
			
- 
				What about setting the car on fire, this will force to respawn it (with a desync?). Good old R1 method :].
 
 About decrase health. There is no "health changed" event in pawn?
 
 o/o
 o/o
 o/o
 o/o
 o/o
 o/o
 
 End of shock.
 
 So you will have to make a 1-2 second timer, that will save every players health and compare it again after 1-2 second.