Callsign, LSPD, gamemode. Warnings.
#1

Hi ! I'm using IBP GM and I have some problems.

Код:
C:\Users\SpikeSpigel\Desktop\Aidan's Gamemode\pawno\include\/IBP/Commands/callsign.pwn(13) : warning 213: tag mismatch
C:\Users\SpikeSpigel\Desktop\Aidan's Gamemode\pawno\include\/IBP/Commands/callsign.pwn(14) : warning 213: tag mismatch
C:\Users\SpikeSpigel\Desktop\Aidan's Gamemode\pawno\include\/IBP/Commands/callsign.pwn(19) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Warnings.
These are my warnings and this is the script:

Код:
COMMAND:callsign(playerid,params[])
{
    new veh = GetPlayerVehicleID(playerid);
    if(PlayerInfo[playerid][pFaction] == 3 || PlayerInfo[playerid][pFaction] == 2)
    {
		if(IsPlayerInAnyVehicle(playerid))
        {
                if(isnull(params)) return SendClientMessage(playerid,COLOR_GREY,"UTILIZARE: /callsign [text]");
                if(!arecallsign[veh])
        {
        new string[128];
        format(string,sizeof(string), "%s",params);
        textcallsign[veh] = Create3DTextLabel(string, 0xFFFFFFFF, 0.0, 0.0, 0.0, 50.0, 0, 1);
        Attach3DTextLabelToVehicle(textcallsign[veh], veh, -0.7, -1.9, -0.3);
        arecallsign[veh] = 1;
                }
                else
                {
                Delete3DTextLabel(textcallsign[veh]);
                arecallsign[veh] = 0;
                return 1;
                        }
                }
                else
                {
        SendClientMessage(playerid,COLOR_GREY,"Nu esti intr-o masina");
        return 1;
                }
        return 1;
                }
    return 1;
}
And these are the warning lines:

Код:
        textcallsign[veh] = Create3DTextLabel(string, 0xFFFFFFFF, 0.0, 0.0, 0.0, 50.0, 0, 1);
- line 13.

Код:
        Attach3DTextLabelToVehicle(textcallsign[veh], veh, -0.7, -1.9, -0.3);
line 14.

Код:
                Delete3DTextLabel(textcallsign[veh]);
line 19 .

These warnings didn't caused me any problems in game and I didn't mind so much to repair that. The problem is .. I tried today and it didn't work. Soo.. I need you guys if is possible to repair it.
Reply


Messages In This Thread
Warnings... pls , help. - by SpikeSpigel - 24.06.2015, 21:10
Re: Callsign, LSPD, gamemode. Warnings. - by Trucido - 24.06.2015, 23:06
Re: Callsign, LSPD, gamemode. Warnings. - by Shetch - 24.06.2015, 23:07
Re: Callsign, LSPD, gamemode. Warnings. - by SpikeSpigel - 24.06.2015, 23:36
Re: Callsign, LSPD, gamemode. Warnings. - by Shetch - 24.06.2015, 23:38
Re: Callsign, LSPD, gamemode. Warnings. - by SpikeSpigel - 24.06.2015, 23:42

Forum Jump:


Users browsing this thread: 1 Guest(s)