Stupid Errors but i dont know why LOL - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Stupid Errors but i dont know why LOL (
/showthread.php?tid=165696)
Stupid Errors but i dont know why LOL -
Zafire1410 - 05.08.2010
Here are the errors
Код:
D:\Roleplay Server\gamemodes\rpg1.pwn(365) : warning 213: tag mismatch
D:\Roleplay Server\gamemodes\rpg1.pwn(370) : warning 213: tag mismatch
D:\Roleplay Server\gamemodes\rpg1.pwn(375) : warning 213: tag mismatch
here my lines
Код:
if(strcmp(var, "px", true) == 0)
{
mysql_fetch_row(variable);
pinfo[playerid][px] = floatstr(variable);
}
if(strcmp(var, "py", true) == 0)
{
mysql_fetch_row(variable);
pinfo[playerid][py] = floatstr(variable);
}
if(strcmp(var, "pz", true) == 0)
{
mysql_fetch_row(variable);
pinfo[playerid][pz] = floatstr(variable);
}
Re: Stupid Errors but i dont know why LOL -
dice7 - 05.08.2010
On which lines do they occur ?
Re: Stupid Errors but i dont know why LOL -
JaTochNietDan - 05.08.2010
You didn't define px,py or pz as floats.
It should be
pawn Код:
enum yourVar
{
Float:px,
Float:py,
Float:pz,
}