Please help me
#1

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
Reply
#2

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 .)
Reply
#3

AddStaticVehicle(modelid, Floatpawn_x, Floatpawn_y, Floatpawn_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
Reply
#4

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)