Jump to content
  • 0

personal Car


mitza505

Question

[pawn]C:\Users\Cbu-Samp\Desktop\CarOnwerShip\filterscripts\carownership.pwn(272) : error 072: "sizeof" operator is invalid on "function" symbols

C:\Users\Cbu-Samp\Desktop\CarOnwerShip\filterscripts\carownership.pwn(274) : error 028: invalid subscript (not an array or too many subscripts): "CarInfo"

C:\Users\Cbu-Samp\Desktop\CarOnwerShip\filterscripts\carownership.pwn(274) : warning 215: expression has no effect

C:\Users\Cbu-Samp\Desktop\CarOnwerShip\filterscripts\carownership.pwn(274) : error 001: expected token: ";", but found "]"

C:\Users\Cbu-Samp\Desktop\CarOnwerShip\filterscripts\carownership.pwn(274) : error 029: invalid expression, assumed zero

C:\Users\Cbu-Samp\Desktop\CarOnwerShip\filterscripts\carownership.pwn(274) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

5 Errors.

[/pawn]

for(new h = carsonserver; h < sizeof(CarInfo); h++)

[pawn] AddStaticVehicleEx(CarInfo[h][cModel],CarInfo[h][cLocationx],CarInfo[h][cLocationy],CarInfo[h][cLocationz]+1.0,CarInfo[h][cAngle],CarInfo[h][cColorOne],CarInfo[h][cColorTwo],60000);[/pawn]

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.