24.04.2011, 05:46
function and params:
to attach to vehicle:
vehicleid - id of vehicle what 3dtext attached to!
for example
pawn Код:
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);
Quote:
CreateDynamic3DTextLabel("CHEKING",Gold,2106.7251, 878.7288,9.9305,100,INVALID_PLAYER_ID, vehicleid); |
for example
pawn Код:
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;
}