08.11.2011, 16:27
Hey guys, well I don't know if I do it the nooby way or not but, when adding vehicles to my server (Ones not in the vehicle list that comes with the samp server files) I tend to do /save and then copy the vehicle save to my script and add it in so I can add custom vehicles... Theres a few problems with that, first it only adds AddStaticVehicle instead of AddStaticVehicleEx which is what I prefer to use....
I tried numerous amounts of vehicle plotter programs to do with SAMP but I do not like them. So I decided to script my own filterscript that does the same as /save but it adds the AddStaticVehicleEx as apposed to AddStaticVehicle, it also adds the respawn timer to what I want it to be... Problem is. When I came to testing it, everything worked and it came out perfectly apart from at the end of every AddStaticVehicleEx it adds = 0; Let me show you an example.
Any idea's on how to get rid of the =0 I use dini btw. Once this if fixed, if anyone wants the filterscript give me a shout and I'll upload it to ya
I tried numerous amounts of vehicle plotter programs to do with SAMP but I do not like them. So I decided to script my own filterscript that does the same as /save but it adds the AddStaticVehicleEx as apposed to AddStaticVehicle, it also adds the respawn timer to what I want it to be... Problem is. When I came to testing it, everything worked and it came out perfectly apart from at the end of every AddStaticVehicleEx it adds = 0; Let me show you an example.
pawn Код:
AddStaticVehicleEx(411, 2324.415771, 2408.037597, 10.471055, 91.636222, -1, -1, 1000);=0
AddStaticVehicleEx(485, 2322.960937, 2415.904052, 10.338153, 89.936119, -1, -1, 1000);=0