Please help me - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Please help me (
/showthread.php?tid=263376)
Please help me -
ionaustinb - 21.06.2011
help me please i have a problem with my script and i dont know how to solve it. it compiles but once i am on the map there are glitches such as not being able to enter
amav = AddStaticVehicle(487,2075.9003,1274.2043,10.8484,6 ,6); //admin maverick
adminElegy2 = AddStaticVehicle(562,2146.8576,1043.5102,10.6987,6 ,6); //ElEgY
-------------------------------------------------------------------------------------------------
1.2.pwn(199
: warning 202: number of arguments does not match definition
1.2.pwn(1999) : warning 202: number of arguments does not match definition
Re: Please help me -
Babul - 21.06.2011
you forgot to add one Float: parameter, the rotaion of each vehicle. maybe its caused by that? anyways, here is a correct code including a rotation (facing angle) 180 degrees:
Код:
amav = AddStaticVehicle(487,2075.9003,1274.2043,10.8484, 180.0000, 6 ,6); //admin maverick
adminElegy2 = AddStaticVehicle(562,2146.8576,1043.5102,10.6987, 180.0000,6 ,6); //ElEgY
play with the rotations like 30, 45 or 90 degrees .)
Re: Please help me -
boelie - 21.06.2011
AddStaticVehicle(modelid, Float
pawn_x, Float
pawn_y, Float
pawn_z, Float:angle, color1, color2)
you are missing the Float:Angle part, you just have the modelid, x,y,z and the colors now
EDIT: Lol to late
Re: Please help me -
ionaustinb - 21.06.2011
Oh Rotation lol i feel so stupid ive been trying to figure this error out for like a day now wow THANKS A LOT GUYS :P