02.01.2011, 18:12
Hello everyone, happy new year & i really need your help with this Function:
I need the SpawnedV[playerid] will destroy if PlayerDisconnect & if filterscript Exit.
And the 3D text will also hide.
Sorry for my bad Ang!
& So I hope someone will help me
pawn Код:
dcmd_v(playerid,params[])
{
//Bla bla ...
SpawnedV[playerid] = CreateVehicle(car, X,Y,Z, Angle, colour1, colour2, -1);
format(string, sizeof(string), "Spawned Vehicle");
vehicle3Dtext = Create3DTextLabel(string,RED,X,Y,Z,140.0,0);
Attach3DTextLabelToVehicle(vehicle3Dtext, SpawnedV[playerid], 0.0, 0.0, 2.0);
}
And the 3D text will also hide.
Sorry for my bad Ang!
& So I hope someone will help me