Update3DTextLabelText
#1

Update3DTextLabelText(strfd2, 0xFFFFFFFF, strfd2);

error 035: argument type mismatch (argument 1)
Reply
#2

Read this:
https://sampwiki.blast.hk/wiki/Update3DTextLabelText
Reply
#3

1є parameter = 3DText ID
2є parameter = INT/HEX NUMBER
3є parameter = STRING
Reply
#4

Quote:
Originally Posted by ViniBorn
Посмотреть сообщение
1є parameter = 3DText ID
2є parameter = INT/HEX NUMBER
3є parameter = STRING
D:\GTA\СЕРВ\тест\gamemodes\bRush.pwn(1624) : error 035: argument type mismatch (argument 1)
D:\GTA\СЕРВ\тест\gamemodes\bRush.pwn(1630) : error 035: argument type mismatch (argument 1)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.

Update3DTextLabelText(strfd2, 0xFFFFFFFF, strfd2);
Update3DTextLabelText(strfd2, 0xFFFFFFFF, strfd2);

Код 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]);
    Update3DTextLabelText(strfd2, 0xFFFFFFFF, strfd2);
    //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]);
    Update3DTextLabelText(strfd2, 0xFFFFFFFF, strfd2);
    //Attach3DTextLabelToVehicle(aeroo[i], Samol[i][cCarID], 0.0, 0.0, 0.0);
    }
    }
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)