24.06.2015, 21:10
(
Последний раз редактировалось SpikeSpigel; 24.06.2015 в 22:03.
)
Hi ! I'm using IBP GM and I have some problems.
These are my warnings and this is the script:
And these are the warning lines:
- line 13.
line 14.
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.
Код:
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.
Код:
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;
}
Код:
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);
Код:
Delete3DTextLabel(textcallsign[veh]);
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.

