[FilterScript] Vuki_TrashCar | Ideal for RP server - 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: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Vuki_TrashCar | Ideal for RP server (
/showthread.php?tid=290289)
Vuki_TrashCar | Ideal for RP server (1st FS) -
Vukilore - 15.10.2011
<removed due to stealing work...>
Re: Vuki_TrashCar | Ideal for RP server -
System64 - 15.10.2011
wow great idea, but you should use in OnVehicleDeath that trash car automaticllay creates not with CMD
that should look like:
pawn Код:
public OnVehicleDeath(vehicleid)
{
new Float: Pos[4];
GetVehiclePos(vehicleid, Pos[0], Pos[1], Pos[2]);
GetVehicleZAngle(vehicleid, Pos[3]);
CreateTCar(Pos[0], Pos[1], Pos[2], Pos[3]);
return 1;
}
Re: Vuki_TrashCar | Ideal for RP server -
Jack_Leslie - 15.10.2011
That's a nice idea!

Good job.
Re : Vuki_TrashCar | Ideal for RP server -
TheBest6 - 15.10.2011
Good.
Re: Vuki_TrashCar | Ideal for RP server -
justsomeguy - 15.10.2011
Oh great! But you should also make something to allow towtruckers or something like that move them away(From roads sidewalks etc.).
Anyway great job!
Re: Vuki_TrashCar | Ideal for RP server -
$India$ - 15.10.2011
I think its good for RP
Re : Re: Vuki_TrashCar | Ideal for RP server -
Vukilore - 15.10.2011
Quote:
Originally Posted by System64
wow great idea, but you should use in OnVehicleDeath that trash car automaticllay creates not with CMD
that should look like:
pawn Код:
public OnVehicleDeath(vehicleid) { new Float: Pos[4]; GetVehiclePos(vehicleid, Pos[0], Pos[1], Pos[2]); GetVehicleZAngle(vehicleid, Pos[3]); CreateTCar(Pos[0], Pos[1], Pos[2], Pos[3]); return 1; }
|
Open the script, this is his function
Re: Re : Re: Vuki_TrashCar | Ideal for RP server -
System64 - 15.10.2011
Quote:
Originally Posted by Vukilore
Open the script, this is his function 
|
His function?
I don't understand, you mean your function?
Re : Vuki_TrashCar | Ideal for RP server -
Vukilore - 15.10.2011
I mean the script is make for that (when vehicle dead, a TCar appear).
So, if you had opened the script, you would have seen this code

(its not created with cmd but automatically)
Re: Vuki_TrashCar | Ideal for RP server -
Zonoya - 15.10.2011
it'd be nice to make it be towable by tow trucks and moveable by like dozers etc