Jump to content

FratziWear

V.I.P
  • Posts

    30
  • Joined

  • Last visited

Everything posted by FratziWear

  1. ​Aia i-am zis si eu mai sus...
  2. Buna ziua, Chestia asta se face la: OnPlayerKeyStateChangeDefinesti ceva de genul: #define PRESSED(%0) \ (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))Apoi la OnPlayerKeyStateChange pui ceva de genul: if(PRESSED(KEY_SUBMISSION)) { new engine, lights, alarm, doors, bonnet, boot, objective; if(IsPlayerInAnyVehicle(playerid)) { new veh = GetPlayerVehicleID(playerid); if(veh != INVALID_VEHICLE_ID) { if(EngineStatus[veh] == 0 && (GetPlayerState(playerid)==PLAYER_STATE_DRIVER)) { GetVehicleParamsEx(veh, engine, lights, alarm, doors, bonnet, boot, objective); SetVehicleParamsEx(veh, VEHICLE_PARAMS_ON, lights, alarm, doors, bonnet, boot, objective); EngineStatus[veh] = 1; SendClientMessage(playerid, COLOR_GREY, "* You started the Engine."); } else if(EngineStatus[veh] == 1 && (GetPlayerState(playerid)==PLAYER_STATE_DRIVER)) { GetVehicleParamsEx(veh, engine, lights, alarm, doors, bonnet, boot, objective); SetVehicleParamsEx(veh, VEHICLE_PARAMS_OFF, lights, alarm, doors, bonnet, boot, objective); EngineStatus[veh] = 0; SendClientMessage(playerid, COLOR_GREY, "You stopped the Engine."); } } } }Si cam asta a fost pentru a porni motorul pe tasta 2. P.S: Asta e doar un exemplu, iti definesti tu cum vrei STRING-uri s.a.m.d. P.P.S: Tot ceva de genul este si la lumini. Spor iti doresc. Cu stima si respect, FratziWear Moderator Scripting @SA-MP.ro
  3. Buna ziua, Cam ciudata aceasta postare, zic. Daca vrei sa faci treaba, te sfatuiesc sa folosesti Pawno, nu alte porcarii cu PLUGIN-uri s.a.m.d. P.S: In general alea iti apar doar in cazul in care nu ai asezat cum trebuie parametrii. Spor la rezolvat de "Warnings-uri". Cu stima si respect, FratziWear Moderator Scripting @SA-MP.ro
  4. Buna seara, Incearca sa setezi minconnectiontime 1000 in server.cfg, probabil te va ajuta, desi nu prea cred. Problema este in general de la noua versiune 0.3.7 care este foarte vulnerabila la atacurile "exploit". Sper ca am fost de ajutor. Cu stima si respect, FratziWear Moderator Scripting @SA-MP.ro
  5. Salut, Cu siguranta nu vei primi niciun GAMEMODE asemanator din cersit. Cauta-ti o sursa, plateste un scripter sau fa-ti-l singur. Succes! Cu stima si respect, FratziWear Moderator Scripting @SA-MP.ro
  6. La multi ani!!! :D

  7. Chillin' @GTA Pro - Romania.

  8. Salutare tuturor, Am vazut pe multe servere ca s-a marit numarul de caractere la /ad-uri si tot odata adaugarea lor pe 2 randuri, aveti vreo idee cum pot sa fac sa apara pe 2 randuri? Am incercat tot felul de metode, insa fara succes. Demo: Daca aveti vreo idee, lasati va rog un Reply. Multumesc. P.S: Daca aveti nevoie de ceva, am sa va raspund. Cu stima, FratziWear
×
×
  • 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.