SA-MP Forums Archive
Silly and easy question.Urgently please - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Silly and easy question.Urgently please (/showthread.php?tid=241180)



Silly and easy question.Urgently please - SkizzoTrick - 17.03.2011

This is a silly question but how to use this?
https://sampwiki.blast.hk/wiki/CreateVehicle

I mean,the "return" thing.How to set the vehicle id?
I just created a Vehicle System and i need to set vehicles id so it is not going to bug the vehicle system.
Quote:

Returns The ID of the vehicle created.



Re: Silly and easy question.Urgently please - SkizzoTrick - 17.03.2011

Aha...so,that means i missunderstood(really missunderstood) .
Ill try to change the whole system.
Thanks y


Re: Silly and easy question.Urgently please - ricardo178 - 17.03.2011

Huh? Just create vehicles and return 1;

pawn Код:
CreateVehicle(560,1470.88073730,-674.67810059,94.55497742,0.00000000,3,1,1500); //Sultan
    CreateVehicle(560,1473.90563965,-674.80303955,94.55497742,0.00000000,3,1,1500); //Sultan
    CreateVehicle(560,1474.59802246,-661.34759521,94.55497742,0.00000000,-1,1,1500); //Sultan
    return 1;



Re: Silly and easy question.Urgently please - SkizzoTrick - 17.03.2011

Quote:
Originally Posted by ricardo178
Посмотреть сообщение
Huh? Just create vehicles and return 1;

pawn Код:
CreateVehicle(560,1470.88073730,-674.67810059,94.55497742,0.00000000,3,1,1500); //Sultan
    CreateVehicle(560,1473.90563965,-674.80303955,94.55497742,0.00000000,3,1,1500); //Sultan
    CreateVehicle(560,1474.59802246,-661.34759521,94.55497742,0.00000000,-1,1,1500); //Sultan
    return 1;
I wish to be that simple:P
My vehicle system is fucked up.Look:
https://sampforum.blast.hk/showthread.php?tid=239914

Im making a new algorithm.I hope it is going to work
Thanks anyway