Creating water bombing helicopters - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Creating water bombing helicopters (
/showthread.php?tid=531074)
Creating water bombing helicopters -
maximthepain - 10.08.2014
Is anyone knows how to make helicopter to output water?
I really want to add function so when i press 'H' the helicopter (VehID:563) will output water to the ground. I know forsure there was a system like this from this thread..
https://sampforum.blast.hk/showthread.php?tid=365917
How every anyone can tell me where to start to build something like this?
Re: Creating water bombing helicopters -
maximthepain - 11.08.2014
Bump... Anyone??
Re: Creating water bombing helicopters -
Blademaster680 - 11.08.2014
Is it possible? I think you would have to use a mod to do that...
Re: Creating water bombing helicopters -
maximthepain - 11.08.2014
Quote:
Originally Posted by Blademaster680
Is it possible? I think you would have to use a mod to do that...
|
Yes it is possiable look here:
https://sampforum.blast.hk/showthread.php?tid=365917
Tell me if im wrong..
Is this gonna work?
pawn Код:
if(newkeys & KEY_CROUCH) //LSPDBarrier horn gates
{
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 563) // 563 is the Raindance model
{
new myobject = CreateObject(18720,0,0,-1000,0,0,0,100);
AttachObjectToVehicle(myobject, GetPlayerVehicleID(playerid), 0.000000,0.000000,-2.550000,0.000000,0.000000,0.000000);
//then write a message or somthing and give me little of respect .
//it's not so hard to do it i know
}
return 1;
}