Help me with these errors please! -
BluePlayBG - 25.12.2017
Hey, these are the lines:
Код:
// DMV Vehicles
DMVCar[0] = CreateVehicle(404,2056.1641,-1903.7000,13.3470,359.6512-180,6,1,300); // Car1
DMVCar[1] = CreateVehicle(404,2056.1641,-1903.9946,13.3470,359.6512-180,6,1,300); // Car2
DMVCar[2] = CreateVehicle(404,2059.3220,-1904.0138,13.3470,359.6512-180,6,1,300); // Car3
DMVCar[3] = CreateVehicle(404,2062.5098,-1904.0331,13.3470,359.6512-180,6,1,300); // Car4
DMVCar[4] = CreateVehicle(404,2065.6597,-1904.0526,13.3470,359.6512-180,6,1,300); // Car5
The code would create vehicles for the DMV, but whenever I try to change any of these coordinates it gives me that error:
Код:
E:\SC-RP\Zgaming Script\gamemodes\ZRP.pwn(18954) : warning 213: tag mismatch
E:\SC-RP\Zgaming Script\gamemodes\ZRP.pwn(18954) : warning 202: number of arguments does not match definition
E:\SC-RP\Zgaming Script\gamemodes\ZRP.pwn(18954) : warning 202: number of arguments does not match definition
E:\SC-RP\Zgaming Script\gamemodes\ZRP.pwn(18954) : warning 202: number of arguments does not match definition
E:\SC-RP\Zgaming Script\gamemodes\ZRP.pwn(18954) : warning 202: number of arguments does not match definition
E:\SC-RP\Zgaming Script\gamemodes\ZRP.pwn(18955) : warning 213: tag mismatch
E:\SC-RP\Zgaming Script\gamemodes\ZRP.pwn(18955) : warning 202: number of arguments does not match definition
E:\SC-RP\Zgaming Script\gamemodes\ZRP.pwn(18955) : warning 202: number of arguments does not match definition
E:\SC-RP\Zgaming Script\gamemodes\ZRP.pwn(18955) : warning 202: number of arguments does not match definition
E:\SC-RP\Zgaming Script\gamemodes\ZRP.pwn(18955) : warning 202: number of arguments does not match definition
E:\SC-RP\Zgaming Script\gamemodes\ZRP.pwn(18956) : warning 213: tag mismatch
E:\SC-RP\Zgaming Script\gamemodes\ZRP.pwn(18956) : warning 202: number of arguments does not match definition
E:\SC-RP\Zgaming Script\gamemodes\ZRP.pwn(18956) : warning 202: number of arguments does not match definition
E:\SC-RP\Zgaming Script\gamemodes\ZRP.pwn(18956) : warning 202: number of arguments does not match definition
E:\SC-RP\Zgaming Script\gamemodes\ZRP.pwn(18956) : warning 202: number of arguments does not match definition
E:\SC-RP\Zgaming Script\gamemodes\ZRP.pwn(18957) : warning 213: tag mismatch
E:\SC-RP\Zgaming Script\gamemodes\ZRP.pwn(18957) : warning 202: number of arguments does not match definition
E:\SC-RP\Zgaming Script\gamemodes\ZRP.pwn(18957) : warning 202: number of arguments does not match definition
E:\SC-RP\Zgaming Script\gamemodes\ZRP.pwn(18957) : warning 202: number of arguments does not match definition
E:\SC-RP\Zgaming Script\gamemodes\ZRP.pwn(18957) : warning 202: number of arguments does not match definition
E:\SC-RP\Zgaming Script\gamemodes\ZRP.pwn(18958) : warning 213: tag mismatch
E:\SC-RP\Zgaming Script\gamemodes\ZRP.pwn(18958) : warning 202: number of arguments does not match definition
E:\SC-RP\Zgaming Script\gamemodes\ZRP.pwn(18958) : warning 202: number of arguments does not match definition
E:\SC-RP\Zgaming Script\gamemodes\ZRP.pwn(18958) : warning 202: number of arguments does not match definition
E:\SC-RP\Zgaming Script\gamemodes\ZRP.pwn(18958) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
25 Warnings.
I did search the forums, but I didn't find anything similar to my problem. Thanks in advance.
Re: Help me with these errors please! -
MEW273 - 25.12.2017
How are you creating the DMVCar variable? Can you show post the code.
When you change the co-ordinates make sure you don't remove or add any commas, the parameters must remain in the same format, see below:
Код:
CreateVehicle(vehicletype, Float:x, Float:y, Float:z, Float:rotation, color1, color2, respawn_delay, addsiren=0)
Any additional or missing commas (parameters) will result in the error you are receiving.
https://sampwiki.blast.hk/wiki/CreateVehicle
Re: Help me with these errors please! -
MEW273 - 25.12.2017
Quote:
Originally Posted by Rektumiliam
6512-180 ??
There is your mismatch.
|
That is an odd way of setting the rotation, but it won't generate the tag mismatch error.