I have 1 Error! - 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: I have 1 Error! (
/showthread.php?tid=600411)
I have 1 Error! -
qRazor - 07.02.2016
http://i.imgur.com/kyOTncX.png
Help me please!
Re: I have 1 Error! -
darkhunter332 - 07.02.2016
Maybe you already wrote that code in your script,
Btw it's just a warning,
It won't effect so hard in the script,
Try to see if there are same scripts in the gamemode,
Try to change their names.
Re: I have 1 Error! -
AbyssMorgan - 07.02.2016
check
Код:
AddStaticVehicleEx(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2, respawn_delay, addsiren=0);
Re: I have 1 Error! -
qRazor - 07.02.2016
Ok, wait.
Re: I have 1 Error! -
Joron - 07.02.2016
Quote:
Originally Posted by qRazor
|
What u tryna do create Number plates for vehicle?
Re: I have 1 Error! -
qRazor - 07.02.2016
Give me one exemple please with BMX[bike id 481]
Re: I have 1 Error! -
qRazor - 07.02.2016
Wait a minutes @Joron, I try now.
Re: I have 1 Error! -
Joron - 07.02.2016
Quote:
Originally Posted by qRazor
Give me one exemple please with BMX[bike id 481]
|
Dude what are u trying to do?
Re: I have 1 Error! -
Loinal - 07.02.2016
dont type car name in it only AddStaticVehicle
Re: I have 1 Error! -
Sew_Sumi - 07.02.2016
Quote:
Originally Posted by qRazor
Wait a minutes @Joron, I try now.
|
AbyssMorgan has it right.
You're using AddStaticVehicle, instead where you should be using the AddStaticVehicleEx.
Mainly because the code you have, has a respawn time on the end. (Take the ,3000 out at the end of each of the error lines, and it should work. Otherwise change them all to AddStaticVehicleEx)
Quote:
Originally Posted by Joron
What u tryna do create Number plates for vehicle?
|
There are many reasons to be tracking vehicles, and objects. Yes, plates are one, although being that there are BMXs in there, he's obviously got a BMX arena.
You can set plates, virtual worlds, interiors, and triggers, all by assigning, and tracking, the created vehicle.
It also helps when you need to respawn gang cars, objective cars and to teleport certain cars to you.