Help With AddStaticVehicle!
#1

I have a problem with my script:
Quote:

AddStaticVehicle(522,502.384521 -2056.736572 446.026886,0,0);
AddStaticVehicle(522,499.273346 -2056.767334 446.026886,0,0);
AddStaticVehicle(522,496.112122 -2056.762939 446.026886,0,0);
AddStaticVehicle(522,493.219513 -2057.012939 446.026886,0,0);
AddStaticVehicle(522,490.531769 -2056.635498 446.026886,0,0);
AddStaticVehicle(522,487.348114 -2056.779297 446.026886,0,0);
AddStaticVehicle(522,484.171234 -2056.923096 446.026886,0,0);
AddStaticVehicle(522,480.999878 -2057.141113 446.026886,0,0);

When i want to compile, it give me some errors:
Quote:

F:\chestii gta sa\MyMap\Map.pwn(1 : error 001: expected token: ",", but found "-rational value-"
F:\chestii gta sa\MyMap\Map.pwn(1 : warning 215: expression has no effect
F:\chestii gta sa\MyMap\Map.pwn(1 : warning 215: expression has no effect
F:\chestii gta sa\MyMap\Map.pwn(1 : warning 215: expression has no effect
F:\chestii gta sa\MyMap\Map.pwn(1 : error 001: expected token: ";", but found ")"
F:\chestii gta sa\MyMap\Map.pwn(1 : error 029: invalid expression, assumed zero
F:\chestii gta sa\MyMap\Map.pwn(1 : fatal error 107: too many error messages on one line

How i resolve thats? Sorry for my bad english.
Reply
#2

Um, which one is line 18?
Reply
#3

Quote:

AddStaticVehicle(522,502.384521 -2056.736572 446.026886,0,0);

You forgot ,

Quote:

AddStaticVehicle(522,502.384521,-2056.736572,446.026886,0,0);

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)