Silly and easy question.Urgently please
#1

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.
Reply
#2

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

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;
Reply
#4

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)