[AJUDA] Placas dos Veнculos
#2

pawn Код:
CMD:nrg500(playerid, params[])
{
    if(PlayerInfo[playerid][VIP] != 1) return SendClientMessage(playerid,0xD8D8D8FF,"Vocк nгo й VIP!");
    new Float:X,Float:Y,Float:Z,Float:Angle, carid;
    GetPlayerPos(playerid,X,Y,Z);
    GetPlayerFacingAngle(playerid,Angle);
    carid = GetPlayerVehicleID(playerid);
    carid = CreateVehicle(522,X,Y,Z,0.0,-1,-1,9000000);
    new Text3D:vehicle3Dtext;
    vehicle3Dtext = Create3DTextLabel( "Veнculo VIP", 0xB4B5B7FF, 30.0,40.0,50.0,40.0,0);
    Attach3DTextLabelToVehicle(vehicle3Dtext, carid, 0.0,-0.0,0.5);
    PutPlayerInVehicle( playerid, carid, 0)   ;
    LinkVehicleToInterior(carid, GetPlayerInterior(playerid));
    SetVehicleNumberPlate( carid, "{FF0000}VIP");
    SetVehicleToRespawn(carid);
    TogglePlayerControllable(playerid,true);
    return 1;
}
precisa respawna pra mudar a placa...
Reply


Messages In This Thread
[AJUDA] Placas dos Veнculos - by [AF]Junior - 06.03.2011, 20:47
Re: [AJUDA] Placas dos Veнculos - by leandro123456 - 06.03.2011, 21:25
Re: [AJUDA] Placas dos Veнculos - by LuxurioN™ - 06.03.2011, 21:26
Re: [AJUDA] Placas dos Veнculos - by Ricop522 - 06.03.2011, 21:34

Forum Jump:


Users browsing this thread: 2 Guest(s)