[Tutorial] Make Single Reserved Car (Easy)
#3

Quote:
Originally Posted by newbie scripter
View Post
Can explain more.
He actually explained nothing.

And that's the worst part of it:
pawn Code:
SetVehiclePos(1, X, Y, Z); //1 = vehicleid. || X = Position X || Y = Position Y || Z = Position Z.
PutPlayerInVehicle(playerid, 1, 0); //1 = vehicleid || 0 = State(0 = Driver)
People are not going to have only 1 vehicle (the one you created) to their server. It should be replaced with Awankz (which holds the vehicleid) instead of adding incorrect vehicle IDs.

pawn Code:
if (strcmp("/mycar", cmdtext, true, 10) == 0)
The lenght of "/mycar" is 6, not 10.
Reply


Messages In This Thread
Make Single Reserved Car (Easy) - by Awankz - 20.11.2013, 06:20
Re: Make Single Reserved Car (Easy) - by newbie scripter - 20.11.2013, 10:16
Re: Make Single Reserved Car (Easy) - by Konstantinos - 20.11.2013, 10:22

Forum Jump:


Users browsing this thread: 1 Guest(s)