SA-MP Forums Archive
3d text - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: 3d text (/showthread.php?tid=535208)



3d text - hillko - 02.09.2014

the thing is that when I bought the plane suppose that sold for money then there had to come the owner of the plane!
but instead of the owner's written there price.


Re: 3d text - mzazon - 02.09.2014

Could you show us the script so we can help you?


Re: 3d text - meitaredri - 02.09.2014

Use this:
Код:
Update3DTextLabelText
Hope I helped + rep if I did



Re: 3d text - hillko - 02.09.2014

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;
}