SA-MP Forums Archive
Error help me - 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)
+--- Thread: Error help me (/showthread.php?tid=620977)



Error help me - firstlast488 - 05.11.2016

Help me to fix this!

Код:
C:\Users\pc9\Desktop\RP\gamemodes\rp.pwn(1437) : error 029: invalid expression, assumed zero
C:\Users\pc9\Desktop\RP\gamemodes\rp.pwn(1437) : error 029: invalid expression, assumed zero
C:\Users\pc9\Desktop\RP\gamemodes\rp.pwn(1437) : error 029: invalid expression, assumed zero
C:\Users\pc9\Desktop\RP\gamemodes\rp.pwn(1437) : fatal error 107: too many error messages on one line

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


4 Errors.





Re: Error help me - RyderX - 05.11.2016

Send Codes, Not pictures


Re: Error help me - firstlast488 - 05.11.2016

This is Code
Код:
forward ParseServerTag(index, name[], value[]);
public ParseServerTag(index, name[], value[])
{
	HighestTagID = index;
	INI_String("Author", TagData[index][eTaggerName], MAX_PLAYER_NAME);
        INI_String("Text", TagData[index][eTagText], MAX_TEXT_LENGHT);
        INI_String("Font", TagData[index][eTagFont], 16);
        INI_Int("Size", TagData[index][eTagSize]);
        INI_Int("Color", TagData[index][eTagTextColor]);
        INI_Int("Bold", TagData[index][eTagBold]);
        INI_Float("X_Pos", TagData[index][eTagPos][0]);
        INI_Float("Y_Pos", TagData[index][eTagPos][1]);
        INI_Float("Z_Pos", TagData[index][eTagPos][2]);
        INI_Float("RX_Pos", TagData[index][eTagPos][3]);
        INI_Float("RY_Pos", TagData[index][eTagPos][4]);
        INI_Float("RZ_Pos", TagData[index][eTagPos][5]);

   	SetTimerEx("BuildTag", 500, false, "d", index);
	return 1;
}



Re: Error help me - justice96 - 05.11.2016

What is this?

Код:
HighestTagID



Re: Error help me - firstlast488 - 05.11.2016

Quote:
Originally Posted by justice96
Посмотреть сообщение
What is this?

Код:
HighestTagID
This is part of command add


Re: Error help me - justice96 - 05.11.2016

Quote:
Originally Posted by firstlast488
Посмотреть сообщение
This is part of command add
Show them.


Re: Error help me - firstlast488 - 05.11.2016

Quote:
Originally Posted by justice96
Посмотреть сообщение
Show them.
Код:
    if(HighestTagID >= MAX_TAGS) return SendClientMessage(playerid, ~1, "The maximum number of tags has been reached.");
 
}



Re: Error help me - justice96 - 05.11.2016

Try to not use HighestTagID, the problem is in there.


Re: Error help me - firstlast488 - 05.11.2016

This is error to compiled my script
Код:
INI_String("Author", TagData[index][eTaggerName], MAX_PLAYER_NAME);
    INI_String("Text", TagData[index][eTagText], MAX_TEXT_LENGHT);
    INI_String("Font", TagData[index][eTagFont], 16);
    INI_Int("Size", TagData[index][eTagSize]);
    INI_Int("Color", TagData[index][eTagTextColor]);
    INI_Int("Bold", TagData[index][eTagBold]);
    INI_Float("X_Pos", TagData[index][eTagPos][0]);
    INI_Float("Y_Pos", TagData[index][eTagPos][1]);
    INI_Float("Z_Pos", TagData[index][eTagPos][2]);
    INI_Float("RX_Pos", TagData[index][eTagPos][3]);
    INI_Float("RY_Pos", TagData[index][eTagPos][4]);
    INI_Float("RZ_Pos", TagData[index][eTagPos][5]);



Re: Error help me - firstlast488 - 05.11.2016

can you define this
Код:
C:\Users\pc9\Desktop\RP1low\gamemodes\LC-RP.pwn(1199) : error 017: undefined symbol "TagData"
C:\Users\pc9\Desktop\RP1low\gamemodes\LC-RP.pwn(1199) : error 029: invalid expression, assumed zero
C:\Users\pc9\Desktop\RP1low\gamemodes\LC-RP.pwn(1199) : error 029: invalid expression, assumed zero
C:\Users\pc9\Desktop\RP1low\gamemodes\LC-RP.pwn(1199) : fatal error 107: too many error messages on one line

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


4 Errors.