- 0
Problema vehicule
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
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.
Question
Punct.
Problema intalnita (descriere): M-am gandit sa fac o functie in care, atunci cand adaug un vehicul, sa-i setez mai multi parametri. Functia merge, masinile se aduga pe server cu parametri care i-am setat, dar are totusi o scapare. Masinile de la job-uri/factiuni nu le mai recunoaste, deci le poate conduce oricine. Precizez ca inainte, le detecta ca masina de la factiune/job si te scotea din masina.
Ero(area / rile) / warning-(ul / urile): -
Liniile de cod / sursa / script-ul(obligatoriu):
Functia:
stock AddVeh(vehicleid, modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2, respawn_delay, addsiren, win_sofer, win_pasager, win_sofers, win_pasagers, plate[], lights, engine) { AddStaticVehicleEx(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2, respawn_delay, addsiren); SetVehicleParamsCarWindows(vehicleid, win_sofer, win_pasager, win_sofers, win_pasagers); SetVehicleNumberPlate(vehicleid, plate); new alarm, doors, bonnet, boot, objective; SetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective); } [/code] Cum adaug masina: [code] politiev[1] = AddVeh(47, 427, 1681.0000, 1160.0000, 10.8500, 360.0000, 152, 152, 500, 1, 1, 1, 1, 1, "COP 01", 0, 0); // Enforce [/code]Imagini / Video (optional): -
Ati incercat sa rezolvati singur?: Da.
Nu mai deschideti in pu*a mea servere de SA:MP !
Jucati-va pe cele care sunt ! Sunt suficiente !
Reguli de bun simt:
My work
:::http://pastebin.com/VRNRcaAs8 answers to this question
Recommended Posts