Jump to content

ncfal

Membru
  • Posts

    17
  • Joined

  • Last visited

    Never

Everything posted by ncfal

  1. Foloseste SetPlayerPos cu coordonatele catre LS, LV, etc...
  2. iti lipseste fisierul "SEIF_WALK.inc". cauta-l pe google si adauga-l in pawno/include si incearca din nou.
  3. http://files.sa-mp.com/
  4. ncfal

    Dealership

    Da. Sunt foarte multe elemente de luat in calcul, de aceea iti recomand sa folosesti unul gata facut si eventual sa-l modifici dupa bunul tau plac.
  5. ncfal

    Dealership

    Hmm.. greseala mea. Cauta aici sau pe sa-mp.com scripturi gen car dealership (gm sau fs). Sistemele de genul acesta sunt complicate si nu merita explicare aici.
  6. Ai incercat sa-ti intrebi hostul?
  7. ncfal

    gm pe host

    Se intampla dupa ce dai Login sau Spawn?
  8. ncfal

    Dealership

    Uita-te in gamemodeul The Godfather.
  9. Sterge paranteza de langa newcar == TCC10.
  10. ncfal

    Combinatie

    Ne poti arata si noua?
  11. Adauga [pawn] TogglePlayerClock(playerid, 1); [/pawn] in OnPlayerConnect.
  12. In SetTimer(Ex) pui la repeating true in loc de 0 sau false.
  13. Dupa ce jucatorul s-a autentificat foloseste SetSpawnInfo. http://wiki.sa-mp.com/wiki/SetSpawnInfo
  14. ncfal

    Sumo

    Intreb pentru ca sincer, se pare ca habar nu ai la ce se folosesc include-urile si tind sa cred ca le confuzi cu plugin-urile. Ce ai facut tu ii echivalentul a scrie codul sursa intr-un fisier .amx dupa care il incluzi in script, doar ca tu ai .dll. http://en.wikipedia.org/wiki/Dynamic-link_library
  15. ncfal

    Sumo

    Ce-i wanterinclude.dll?
  16. ncfal

    Combinatie

    Asigura-te ca folosesti SA-MP Server 0.3e.
  17. Pune [pawn] new bool: gEngineStatus[MAX_PLAYERS char]; [/pawn] undeva sus, fiind o variabila globala. [pawn] ManualVehicleEngineAndLights(); [/pawn] Merge in OnGameModeInit(), iar comanda /engine ar arata cam asa: [pawn] CMD:engine(playerid, cmdtext[]) { new engine, lights, alarm, doors, bonnet, boot, objective; gEngineStatus{playerid} = !gEngineStatus{playerid}; if(gEngineStatus{playerid}) { GetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, bonnet, boot, objective); SetVehicleParamsEx(GetPlayerVehicleID(playerid), true, lights, alarm, doors, bonnet, boot, objective); // aici poti sa adaugi un mesaj, gen motorul masinii a fost pornit, etc.. return 1; } else { GetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, bonnet, boot, objective); SetVehicleParamsEx(GetPlayerVehicleID(playerid), false, lights, alarm, doors, bonnet, boot, objective); // alt mesaj, de data aceasta motorul a fost oprit... return 1; } return 1; } [/pawn]
×
×
  • 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.