Quote:
Originally Posted by meitaredri
Use this:
Код:
Update3DTextLabelText
Hope I helped + rep if I did
|
D:\GTA\ÑÅÐÂ\òåñò\gamemodes\bRush.pwn(1623) : error 035: argument type mismatch (argument 1)
D:\GTA\ÑÅÐÂ\òåñò\gamemodes\bRush.pwn(1623) : warning 213: tag mismatch
D:\GTA\ÑÅÐÂ\òåñò\gamemodes\bRush.pwn(162
: error 035: argument type mismatch (argument 1)
D:\GTA\ÑÅÐÂ\òåñò\gamemodes\bRush.pwn(162
: warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
Код HTML:
stock TextPlan()
{
for(new i;i<MAX_AIR;i++)
{
if(!strcmp(Samol[i][cOwner],"sell",true,24))
{
new strfd2[120];
format(strfd2, sizeof(strfd2), "{da70d6}Ïðîäàåòñÿ\n Öåíà: {c0ff00}%d", Samol[i][cCoast]);
aeroo[i] = CreateDynamic3DTextLabel(strfd2, 0xFFFFFFAA, 0.0, 0.0, 1.0, 30.0, INVALID_PLAYER_ID, Samol[i][cCarID]);
//Attach3DTextLabelToVehicle(aeroo[i], Samol[i][cCarID], 0.0, 0.0, 0.0);
}else{
new strfd2[120];
format(strfd2, sizeof(strfd2), "{ff9966}Âëàäåëåö: {ffcc00}%s", Samol[i][cOwner]);
aeroo[i] = CreateDynamic3DTextLabel(strfd2, 0xFFFFFFAA, 0.0, 0.0, 1.0, 30.0, INVALID_PLAYER_ID, Samol[i][cCarID]);
//Attach3DTextLabelToVehicle(aeroo[i], Samol[i][cCarID], 0.0, 0.0, 0.0);
}
}
return 1;
}
stock DelTextPlan()
{
for(new i;i<MAX_AIR;i++)
{
DestroyDynamic3DTextLabel(Text3D:aeroo[i]);
}
return 1;
}