Attach 3d text label to car
#1

pawn Код:
for(new c = 0; c < MAX_VEHICLES; c++)
    {
        if((carid >= 22) && (carid <= 35))
        {
            new Float:x,Float:y,Float:z; GetVehiclePos(c, x,y,z);
            new model[24]; GetVehicleName(c,model,sizeof(model));
            format(PropertyString,sizeof(PropertyString),"Police");
            VehicleLabel[c] = Create3DTextLabel(PropertyString, 0xFF0000CC, x, y, z, 10, 0, 1);
            Attach3DTextLabelToVehicle(VehicleLabel[c],c,0,0,0);
        }
    }

goes to this errors

Quote:

C:\Documents and Settings\Admin\Desktop\vanja\Balkan Net RP\gamemodes\SteamRSRoleplay.pwn(14100) : error 017: undefined symbol "carid"
C:\Documents and Settings\Admin\Desktop\vanja\Balkan Net RP\gamemodes\SteamRSRoleplay.pwn(14103) : error 017: undefined symbol "GetVehicleName"
C:\Documents and Settings\Admin\Desktop\vanja\Balkan Net RP\gamemodes\SteamRSRoleplay.pwn(14103) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Admin\Desktop\vanja\Balkan Net RP\gamemodes\SteamRSRoleplay.pwn(14105) : error 017: undefined symbol "VehicleLabel"
C:\Documents and Settings\Admin\Desktop\vanja\Balkan Net RP\gamemodes\SteamRSRoleplay.pwn(14105) : warning 215: expression has no effect
C:\Documents and Settings\Admin\Desktop\vanja\Balkan Net RP\gamemodes\SteamRSRoleplay.pwn(14105) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Admin\Desktop\vanja\Balkan Net RP\gamemodes\SteamRSRoleplay.pwn(14105) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Admin\Desktop\vanja\Balkan Net RP\gamemodes\SteamRSRoleplay.pwn(14105) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


6 Errors.

Reply


Messages In This Thread
Attach 3d text label to car - by Stereotype - 25.08.2012, 02:32
Re: Attach 3d text label to car - by ddnbb - 25.08.2012, 02:35
Re: Attach 3d text label to car - by Stereotype - 25.08.2012, 02:36
Re: Attach 3d text label to car - by trapstar2020 - 16.10.2012, 17:52
Re: Attach 3d text label to car - by Ghost_Boii - 16.10.2012, 17:56
Re: Attach 3d text label to car - by trapstar2020 - 16.10.2012, 18:04
Re: Attach 3d text label to car - by gtakillerIV - 16.10.2012, 18:09

Forum Jump:


Users browsing this thread: 1 Guest(s)