28.08.2011, 12:29
Hi, i have some warnings by my 3D Labels...
I got 3 warnings from a tag mismatch...
This are the piece of codes wheres the warning.
Warnings:
C:\Users\***\Desktop\Pawno\pawno\pawno\PENFS.pwn(1 290) : warning 213: tag mismatch
C:\Users\***\Desktop\Pawno\pawno\pawno\PENFS.pwn(1 291) : warning 213: tag mismatch
C:\Users\***\Desktop\Pawno\pawno\pawno\PENFS.pwn(1 303) : warning 213: tag mismatch
The first line of code, with the CMD
utymodeon is line 1281...
Thanks!
Penait
I got 3 warnings from a tag mismatch...
This are the piece of codes wheres the warning.
Code:
CMD:dutymodeon(playerid, params[])
{
if(IsPlayerLuxAdmin(playerid))
{
new string[128];
new pname[24];
new Float:X, Float:Y, Float:Z;
GetPlayerPos( playerid, X, Y, Z );
GetPlayerName(playerid, pname, sizeof(pname));
playertextid = Create3DTextLabel("Admin On Duty\n-!!- You cant kill this person! -!!-", 0xFF2800FF, 0, 0, 0, 50, 0, 1);
Attach3DTextLabelToPlayer(playertextid, playerid, 0.0, 0.0, 0.7);
SetPlayerHealth(playerid, 99999);
format(string, sizeof(string), "[ADMIN] Admin %s Is now on Duty mode!", pname);
SendClientMessageToAll(COLOR_RED, string);
}
else SendClientMessage(playerid, COLOR_RED, "[ERROR] {00FC15}You need to be admin!");
return 1;
}
CMD:dutymodeoff(playerid, params[])
{
if(IsPlayerLuxAdmin(playerid))
{
Delete3DTextLabel(playertextid);
SetPlayerHealth(playerid, 99999);
}
else SendClientMessage(playerid, COLOR_RED, "[ERROR] {00FC15}You need to be admin!");
return 1;
}
C:\Users\***\Desktop\Pawno\pawno\pawno\PENFS.pwn(1 290) : warning 213: tag mismatch
C:\Users\***\Desktop\Pawno\pawno\pawno\PENFS.pwn(1 291) : warning 213: tag mismatch
C:\Users\***\Desktop\Pawno\pawno\pawno\PENFS.pwn(1 303) : warning 213: tag mismatch
The first line of code, with the CMD
utymodeon is line 1281...Thanks!
Penait


