[HELP] Small Mapping Error - REP+1
#1

Hello.

When i try to add a hydra to the mapping via script with this code..

Quote:

AddStaticVehicle(520,121,405.8636,2438.9297,16.500 0,2.3208,0);

It gives me

Tag mismatch error..
Reply
#2

AddStaticVehicle(520,121.00,405.8636,2438.9297,16. 5000,2.3208,0,0);
here u firstly at 121.00 did 121 i dont know it matters or not and also as 16.500 0 which can cause error
+ there should be 2 colors at end 0 , 0 // unsure about this part
try this instead
Reply
#3

Quote:
Originally Posted by Niko_boy
Посмотреть сообщение
AddStaticVehicle(520,121.00,405.8636,2438.9297,16. 5000,2.3208,0,0);
here u firstly at 121.00 did 121 i dont know it matters or not and also as 16.500 0 which can cause error
+ there should be 2 colors at end 0 , 0 // unsure about this part
try this instead
It has worked i guess but now i get 3 warnings instead of one.. :P


: warning 213: tag mismatch
: warning 202: number of arguments does not match definition
: warning 202: number of arguments does not match definition
Reply
#4

Let see...

AddStaticVehicle(520,121,405.8636,2438.9297,16.500 0,2.3208,0);
AddStaticVehicle(modelid, x, y, z, angle, color1, color2)

remove 2.3208
Reply
#5

Quote:
Originally Posted by newbienoob
Посмотреть сообщение
Let see...

AddStaticVehicle(520,121,405.8636,2438.9297,16.500 0,2.3208,0);
AddStaticVehicle(modelid, x, y, z, angle, color1, color2)

remove 2.3208
Okay thats removed two of the warnings, thank you .


Now how do i get rid of the second one.. of the same line

Код:
warning 202: number of arguments does not match definition
The line is now

AddStaticVehicle(520,121,405.8636,2438.9297,16.500 0,0);

i removed the 2.3208 you said to remove and it took two warning off of the three , So one left to manage to take off
Reply
#6

AddStaticVehicle(520,121,405.8636,2438.9297,16.500, 0,0);
Reply
#7

Quote:
Originally Posted by newbienoob
Посмотреть сообщение
AddStaticVehicle(520,121,405.8636,2438.9297,16.500, 0,0);
O_O


FIXED!!

Thank you!

+1 Rep for all that posted to this to help me.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)