28.08.2011, 14:59
Exemplo:
Aqui compilou, nгo sei se funciona, isso й um exemplo de um comando de criar carro, adapte ao seu sistema de carros ou algo do tipo. Tentei
@esqueci do getplayername ''-''
pawn Код:
new playrname[MAX_PLAYER_NAME];
new carid;
carid = GetPlayerVehicleID(playerid);
carid = CreateVehicle(520,X,Y,Z,0.0,-1,-1,9000000);
new Text3D:vehicle3Dtext;
new string[35];
GetPlayerName(playerid, playrname, sizeof(playrname));
format(string, sizeof(string), "Carro do %s.", playrname);
vehicle3Dtext = Create3DTextLabel( "string", 0xB4B5B7FF, 30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToVehicle(vehicle3Dtext, carid, 0.0,-0.0,0.5);
@esqueci do getplayername ''-''