Jump to content

Corey_

Membru
  • Posts

    6
  • Joined

  • Last visited

  • Days Won

    1

Corey_ last won the day on December 5 2022

Corey_ had the most liked content!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Corey_'s Achievements

Rookie

Rookie (2/14)

  • First Post
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

1

Reputation

  1. https://sampwiki.blast.hk/wiki/OnPlayerClickTextDraw " Important Notes The clickable area is defined by TextDrawTextSize. The x and y parameters passed to that function must not be zero or negative. Do not use CancelSelectTextDraw unconditionally within this callback. This results in an infinite loop." gTextDraw = TextDrawCreate(10.000000, 141.000000, "MyTextDraw"); TextDrawTextSize(gTextDraw,60.000000, 20.000000); <<<<<<<<<<<<
  2. Te salut. E treaba de incepator dar: In pawno CTRL+F; si scrii "Next Payday"; te va duce in script unde este textdraw-ul creat / unde este setat string-ul textdraw-ului, si asa, poti afla ce textdraw este. Daca vrei sa il anulezi il stergi / daca vrei sa-l faci sa dispara, ii faci un timer pe o functie sa ti-l ascunda automat la un anumit timp dupa ce apare. Mai poti cauta si TextDrawUseBox
  3. #include <a_samp> new CoreENGINE,CoreLIGHTS,CoreCARalarm, CoreCARdoors,CoreCARBonnet,CoreCARBooty,CoreSobjective; public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { new veh = GetPlayerVehicleID(playerid); //------------------------------------------------------------------------------ if(newkeys == KEY_LOOK_BEHIND) //2 { if(GetPVarInt(playerid, "Lights") == 0) { GetVehicleParamsEx(veh,CoreENGINE,CoreLIGHTS,CoreCARalarm,CoreCARdoors,CoreCARBonnet,CoreCARBooty,CoreSobjective); SetVehicleParamsEx(veh,CoreENGINE,VEHICLE_PARAMS_ON,CoreCARalarm,CoreCARdoors,CoreCARBonnet,CoreCARBooty,CoreSobjective); SetPVarInt(playerid, "Lights", 1); SendClientMessage(playerid,-1,"Luminile au fost aprinse."); } else if(GetPVarInt(playerid, "Lights") == 1) { GetVehicleParamsEx(veh,CoreENGINE,CoreLIGHTS,CoreCARalarm,CoreCARdoors,CoreCARBonnet,CoreCARBooty,CoreSobjective); SetVehicleParamsEx(veh,CoreENGINE,VEHICLE_PARAMS_OFF,CoreCARalarm,CoreCARdoors,CoreCARBonnet,CoreCARBooty,CoreSobjective); SetPVarInt(playerid, "Lights", 0); SendClientMessage(playerid,-1,"Luminile au fost stinse."); } //------------------------------------------------------------------------------ } return 1; } De inceput, poti continua tu mai departe.
  4. Off-Topic: Frate, n-ai cum sa n-ai placa video. ) On-Topic: Pai, exista drivermax, programul ala care iti recunoaste tot ce ai in pc si iti updateaza singur driverele pentru fiecare device in parte. Prostia la el e ca nu e free, adica poti face update la driverele a doar doua device-uri / zi. Il descarci de aici: http://small.drivermax.com/soft/dmx/drivermax.exe
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.