Help with an NPC
#1

Hey i have a train NPC but the trailers are on front here is a picture:


Uploaded with ImageShack.us
How can i turn it around so the brownstreak is in front and the trailers BEHIND it? This is the code:
[pawn]
new train;
train = AddStaticVehicle(538, 0,0,0, 0, 1, 1);

if(!strcmp(playername,"TrainDriverLV",true)) {
PutPlayerInVehicle(playerid,penis,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
Reply
#2

With AddStaticVehicle, change the Z Rotaion to 180. The train snaps to the nearest track so you might have to play with that angle a little bit.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)