18.07.2009, 05:25
Hey, I'm having trouble with my FS . It is supposed to spawn the vehicles in the array (vehicles) with the params in the array and set the vehicle's virtual world to #1.
Here is the main function, that makes the vehicles and puts it into the vehicles into vworld #1:
Here is the array:
And here are the errors:
Any suggestions? Can anyone explain this error to me? I get it alot of times but never understand what it means.
Thanks,
Luciano
Here is the main function, that makes the vehicles and puts it into the vehicles into vworld #1:
Код:
public OnFilterScriptInit() { for(new i=0;i<sizeof(vehicles);i++) { AddStaticVehicle(vehicles[i][0],vehicles[i][1],vehicles[i][2],vehicles[i][3],vehicles[i][4],-1,-1); SetVehicleVirtualWorld(vehicles[i],1); } return 1; }
Код:
new Float:vehicles[2][5] = { {556,388.4015,2537.7161,16.9140,179.3938}, {519,404.4426,2452.0791,17.4188,0.4300} };
Код:
C:\Documents and Settings\Micah\Desktop\roleplay.pwn(27) : warning 213: tag mismatch C:\Documents and Settings\Micah\Desktop\roleplay.pwn(28) : warning 213: tag mismatch C:\Documents and Settings\Micah\Desktop\roleplay.pwn(45) : warning 213: tag mismatch C:\Documents and Settings\Micah\Desktop\roleplay.pwn(46) : error 035: argument type mismatch (argument 1) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Thanks,
Luciano