Jump to content
  • 0

Problema AttachTrailerToVehcile


Question

Posted (edited)

Problema intalnita (descriere): AttachTrailerToVehicle, pun corect, trailer car definita si spawnata + new vehicleid = GetPlayerVehicleID(playerid);
Ero(area / rile) / warning-(ul / urile):  error 035: argument type mismatch (argument 1)
Liniile de cod / sursa / script-ul(obligatoriu): http://pastebin.com/fQxk05Qq
Imagini / Video (optional): -
Ati incercat sa rezolvati singur?: Da, am cautat dar degeaba.

 

PS: nu am dat toata comanda, am mai multe lucruri unice si definite acolo..

Edited by Cosmin.

12 answers to this question

Recommended Posts

  • 0
Posted

Pun attachtrailertovehicle(trailercar, vehicleid); si imi da eroarea  : error 035: argument type mismatch (argument 1)

  • 0
Posted

Salut,

Pune

new vehicleid = GetPlayerVehicleID(playerid);

inainte de 

AttachTrailerToVehicle(trailercar, vehicleid);

O zi buna !

  • 0
Posted

Pune asa:

new vehicleid = GetPlayerVehicleID(playerid);
trailercar[playerid] = CreateVehicle(591, x,y,z,a, 1,1, -1);    
AttachTrailerToVehicle(trailercar, vehicleid);

Trebuie sa le pui intr-o anumita ordine ca sa functioneze, new-urile primele dupa care pot fi folosite.

242086.png

  • 0
Posted
AttachTrailerToVehicle(trailercar, vehicleid);

Inlocuieste cu 

AttachTrailerToVehicle(trailercar[playerid], vehicleid);

 

  • 0
Posted

Incearca asa

new vehicleid = GetPlayerVehicleID(playerid);
new Float:Xf, Float:Yf, Float:Zf;
GetPlayerPos(playerid, Xf, Yf, Zf);
trailercar[vehicleid] = AddStaticVehicle(591, Xf,Yf,Zf, 360,0,0);
AttachTrailerToVehicle(trailercar[vehicleid], GetPlayerVehicleID(playerid));

 

  • Upvote 1

j3V8Znq.png

5IGyOAw.png

Guest
This topic is now closed to further replies.
×
×
  • 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.