[AJUDA] Placas
#1

Eu to colocando o sistema de placas ... entгo coloquei:


pawn Код:
public OnGameModeInit()
{
    for(new i=1; i<MAX_VEHICLES; i++)
    {
        new string[128];
        new Text3D:vehicle3Dtext;
        new carid = GetPlayerVehicleID(playerid);//LINHA 2787
        format(string,sizeof(string), "BRL - %d", carid);
        vehicle3Dtext = Create3DTextLabel(string, 0xADC7E7AA, 0.0, 0.0, 0.0, 20.0, 0, 1 );
        Attach3DTextLabelToVehicle(vehicle3Dtext, i, 0.0, 0.0, 0.0);
        SetVehicleToRespawn(i);
        SetVehicleNumberPlate(i, "BRL");
        SetVehicleToRespawn(i);
    }
Mas da esse erro:

pawn Код:
(2787) : error 017: undefined symbol "playerid"
Reply
#2

pawn Код:
for(new i=1; i<MAX_VEHICLES; i++)
{
        new string[128];
        new Text3D:vehicle3Dtext;
        new carid = GetPlayerVehicleID(i);
        format(string,sizeof(string), "BRL - %d", carid);
        vehicle3Dtext = Create3DTextLabel(string, 0xADC7E7AA, 0.0, 0.0, 0.0, 20.0, 0, 1 );
        Attach3DTextLabelToVehicle(vehicle3Dtext, i, 0.0, 0.0, 0.0);
        SetVehicleToRespawn(i);
        SetVehicleNumberPlate(i, "BRL");
        SetVehicleToRespawn(i);
}
Reply
#3

vlw ae funfou =D
Reply
#4

^^
Nada
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)