06.01.2013, 14:53
pawn Код:
new Text3D:CarroCS[MAX_PLAYERS];// topo
forward VerificarVeiculo(playerid);
public VerificarVeiculo(playerid)
{
new Float:X, Float:Y,Float:Z;
for(new c = 0; c <= 10; c++)
{
if(IsPlayerInVehicle(playerid, VSpawn[c]))
{
VSpawn[playerid] = Create3DTextLabel(" Texto aqui ", -1, X, Y, Z+1, 30, 0, 9);
Attach3DTextLabelToVehicle(CarroCS[playerid], CarrosCC[c], 0, 0, 0);
return 1;
}
}
return 1;
}