Help Tag Mismatch - 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: Help Tag Mismatch (
/showthread.php?tid=491534)
Help Tag Mismatch -
alishvasis - 31.01.2014
Hi Guys.This Code Have Error Tag mismatch >>
Код:
dcmd_cchat(playerid,params[]){
#pragma unused params
if(ServerInfo[ClearChat]==0){
CommandDisabled(playerid);}
if(Account[playerid][pAdminlevel] == 5<CmdsOptions[ClearChat]){
format(string, sizeof(string), LanguageText[0], CmdsOptions[ClearChat]);
SendClientMessage(playerid, COLOR_LIGHTRED, string);}else
if(Account[playerid][pAdminlevel]>=CmdsOptions[ClearChat]) if(ServerInfo[ClearChat]==1){
for(new i=0;i<100;i++)SendClientMessageToAll(COLOR_WHITE," ");}
return 1;}
At This Line :
Код:
if(Account[playerid][pAdminlevel] == 5<CmdsOptions[ClearChat]){
And Get This Warning :
Код:
warning 213: tag mismatch
Help Me Plssss TnX And Sry For My Bad English
Re: Help Tag Mismatch -
Smileys - 31.01.2014
pawn Код:
if(Account[playerid][pAdminlevel] == 5 || Account[playerid][pAdminlevel] < CmdsOptions[ClearChat]){