Need Help. - 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: Need Help. (
/showthread.php?tid=488210)
Need Help. -
Player23 - 17.01.2014
Yolo guys, I need your help.
Код:
public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid)
{
(line number)(20983) : if(_:playertextid != INVALID_TEXT_DRAW)
{
for(new x=6; x<15; x++)
{
if(playertextid == TickTD[playerid][x])
{
if(TickTurn[playerid]==0) SendClientMessage(playerid,-1,"Its not your turn");
else if(ticbox[playerid][x-6] != 0) SendClientMessage(playerid,-1,"You cant draw in this box");
else tickbox(playerid,x-6);
break;
}
}
}
return 1;
}
public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
(line number)(21000) : if(_:clickedid == INVALID_TEXT_DRAW)
{
if(GetPVarInt(playerid,"InTic")) TogglePlayerControllable(playerid,0), SelectTextDraw(playerid,0xFFFFFFFF);
}
return 1;
}
Код:
(20983) : warning 213: tag mismatch
(21000) : warning 213: tag mismatch
I don't know what is wrong, i just can't fix this.
Код:
(44503) : warning 203: symbol is never used: "available"
(44503) : warning 203: symbol is never used: "con"
(44503) : warning 203: symbol is never used: "content"
(44503) : warning 203: symbol is never used: "cstring2"
(44503) : warning 203: symbol is never used: "dstring"
But my last lines are :
Код:
AntiDeAMX()
{
new a[][] =
{
"Unarmed (Fist)",
"Brass K"
};
#pragma unused a
}
Help me please, i will rep you guys.
Re: Need Help. -
M3HR4N - 17.01.2014
no problem with these warnings ....
your gamemode will be work ok.
Re: Need Help. -
Player23 - 17.01.2014
But bro it makes my game mode crash after some time.
Re: Need Help. -
SuperViper - 17.01.2014
pawn Код:
if(playertextid != PlayerText:INVALID_TEXT_DRAW)
pawn Код:
if(clickedid == Text:INVALID_TEXT_DRAW)
Re: Need Help. -
M3HR4N - 17.01.2014
if gamemode crash, check other things ... these are a little errors.
for fix these errors :
Код:
(44503) : warning 203: symbol is never used: "available"
(44503) : warning 203: symbol is never used: "con"
(44503) : warning 203: symbol is never used: "content"
(44503) : warning 203: symbol is never used: "cstring2"
(44503) : warning 203: symbol is never used: "dstring"
try to find the whole stock and remove it.
Re: Need Help. -
Player23 - 17.01.2014
Thank you to both of you.
REP+ to both
)))