help me Error 213
#1

this error
Код HTML:
D:\BS\mode dang edit\BS.pwn(1032) : warning 213: tag mismatch
D:\BS\mode dang edit\BS.pwn(1033) : warning 213: tag mismatch
D:\BS\mode dang edit\BS.pwn(1034) : warning 213: tag mismatch
D:\BS\mode dang edit\BS.pwn(1035) : warning 213: tag mismatch
D:\BS\mode dang edit\BS.pwn(1036) : warning 213: tag mismatch
D:\BS\mode dang edit\BS.pwn(1037) : warning 213: tag mismatch
D:\BS\mode dang edit\BS.pwn(1038) : warning 213: tag mismatch
D:\BS\mode dang edit\BS.pwn(1039) : warning 213: tag mismatch
D:\BS\mode dang edit\BS.pwn(1040) : warning 213: tag mismatch
D:\BS\mode dang edit\BS.pwn(1041) : warning 213: tag mismatch
D:\BS\mode dang edit\BS.pwn(1042) : warning 213: tag mismatch
D:\BS\mode dang edit\BS.pwn(1043) : warning 213: tag mismatch
D:\BS\mode dang edit\BS.pwn(1044) : warning 213: tag mismatch
D:\BS\mode dang edit\BS.pwn(1045) : warning 213: tag mismatch
D:\BS\mode dang edit\BS.pwn(1046) : warning 213: tag mismatch
D:\BS\mode dang edit\BS.pwn(1047) : warning 215: expression has no effect
D:\BS\mode dang edit\BS.pwn(1048) : warning 213: tag mismatch
D:\BS\mode dang edit\BS.pwn(1049) : warning 213: tag mismatch
D:\BS\mode dang edit\BS.pwn(1053) : error 035: argument type mismatch (argument 3)
D:\BS\mode dang edit\BS.pwn(1063) : error 035: argument type mismatch (argument 3)
my code
Код HTML:
EvoVehicles[CreatedID][EVModel] = kieuxe;
	EvoVehicles[CreatedID][EVX] = x;
	EvoVehicles[CreatedID][EVY] = y;
	EvoVehicles[CreatedID][EVZ] = z;
	EvoVehicles[CreatedID][EVRot] = rot;
	EvoVehicles[CreatedID][EVCol1] = color1;
	EvoVehicles[CreatedID][EVCol2] = color2;
	EvoVehicles[CreatedID][EVPrice] = giaxe;
	EvoVehicles[CreatedID][EVSecurity] = 0;
	EvoVehicles[CreatedID][EVLock] = 0;
	format(EvoVehicles[CreatedID][EVPlate], 256, Owner);
	EvoVehicles[CreatedID][EVPJ] = -1;
	EvoVehicles[CreatedID][EVExist] = 1;
	EvoVehicles[CreatedID][EVVehID] = CreateVehicle(kieuxe, x, y, z, rot, color1, color2, -1);
	VehEVID[ EvoVehicles[CreatedID][EVVehID] ] = CreatedID;
	dini_IntSet(string, "OWNER", Owner);
	dini_IntSet(string, "PLATE", Owner);
Reply
#2

bump
Reply
#3

for some erors that i see--
make sure that these three variables are in Float fromat[caz x y and z are in float]--
Код:
EvoVehicles[CreatedID][EVX] 
EvoVehicles[CreatedID][EVY] 
EvoVehicles[CreatedID][EVZ]
_____________________________________
and now about these lines--
Код:
dini_IntSet(string, "OWNER", Owner);
dini_IntSet(string, "PLATE", Owner);
are u sure that variable "Owner" is a Int type variable seems to me like a String
can u show where u have declared variable Owner
Reply
#4

public CreateEvoVehicle(kieuxe, Owner[], Float, Float:y, Float:z, Float:rot, color1, color2, giaxe)
{
new CreatedID;
new FileName[128];
new string[128];
EvoVehicles[CreatedID][EVModel] = kieuxe;
EvoVehicles[CreatedID][EVX] = x;
EvoVehicles[CreatedID][EVY] = y;
EvoVehicles[CreatedID][EVZ] = z;
EvoVehicles[CreatedID][EVRot] = rot;
EvoVehicles[CreatedID][EVCol1] = color1;
EvoVehicles[CreatedID][EVCol2] = color2;
EvoVehicles[CreatedID][EVPrice] = giaxe;
EvoVehicles[CreatedID][EVSecurity] = 0;
EvoVehicles[CreatedID][EVLock] = 0;
format(EvoVehicles[CreatedID][EVPlate], 256, Owner);
EvoVehicles[CreatedID][EVPJ] = -1;
EvoVehicles[CreatedID][EVExist] = 1;
EvoVehicles[CreatedID][EVVehID] = CreateVehicle(kieuxe, x, y, z, rot, color1, color2, -1);
VehEVID[ EvoVehicles[CreatedID][EVVehID] ] = CreatedID;
VehInSystem(EvoVehicles[CreatedID][EVVehID]) = 1;
SetVehicleNumberPlate(EvoVehicles[CreatedID][EVVehID], Owner);
SetVehicleToRespawn(EvoVehicles[CreatedID][EVVehID]);
format(FileName, 35, "EVO/Vehicles/Vehicle_%d.ini", CreatedID);
dini_Create(string);
dini_IntSet(string, "GIAXE", giaxe);
dini_IntSet(string, "OWNER", Owner);
dini_FloatSet(string, "X", x);
dini_FloatSet(string, "Y", y);
dini_FloatSet(string, "Z", z);
dini_FloatSet(string, "ROT", rot);
dini_IntSet(string, "COL1", color1);
dini_IntSet(string, "COL2", color2);
dini_IntSet(string, "GIAXE", giaxe);
dini_IntSet(string, "SECURITY", 0);
dini_IntSet(string, "LOCK", 0);
dini_IntSet(string, "PLATE", Owner);
dini_IntSet(string, "PJ", -1);
SpawnedXe++;
return CreatedID;
}
Reply
#5

Код:
	EvoVehicles[CreatedID][EVX] = X;
	EvoVehicles[CreatedID][EVY] = Y;
	EvoVehicles[CreatedID][EVZ] = Z;
here is the probllem
Reply
#6

all my game mode use x y z not X Y Z help please
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)