CreateDynamic3DTextLabel("CHEKING",Gold,2106.7251,878.7288,9.9305,100);
format(TextCar,sizeof(TextCar),"VIP шлб {9B2E5E}(%s)",VehNames[GetVehicleModel(car)-400]);
TextUpCar[car] = CreateDynamic3DTextLabel(TextCar,P_Playzone,0,0,0,15.0);
Attach3DTextLabelToVehicle(TextUpCar[car],car,0.0,0.0,0.0);
CreateDynamic3DTextLabel(const text[], color, Float:x, Float:y, Float:z, Float:drawdistance, attachedplayer = INVALID_PLAYER_ID, attachedvehicle = INVALID_VEHICLE_ID, testlos = 0, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 100.0);
|
CreateDynamic3DTextLabel("CHEKING",Gold,2106.7251, 878.7288,9.9305,100,INVALID_PLAYER_ID, vehicleid); |
new gVeh;
public OnGameModeInit()
{
gVeh = CreateVehicle(400,2106.7251,878.7288,9.9305,0,0,1600);
CreateDynamic3DTextLabel("CHEKING",Gold,2106.7251,878.7288,9.9305,100,INVALID_PLAYER_ID, gVeh);
return 1;
}
label[playerid] = CreateDynamic3DTextLabel(string,GetPlayerColor(playerid),30.0,40.0,50.0,40.0,playerid,INVALID_VEHICLE_ID);
|
thank you ! in vehicle it's work
but when i attach it you player it's not work again - PHP код:
|
CreateDynamic3DTextLabel(string,GetPlayerColor(playerid),0.0,0.0,1.0,0.0,playerid)