SA-MP Forums Archive
need help - 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: need help (/showthread.php?tid=181704)



need help - nicoud - 06.10.2010

i cant make my boat lean forward. i tried using the zRot but didnt work xRot didnt work and the yRot is at 90 because the boat is on its side without it(the right side) can somebody plz help me figure this out.
Код:
public OnPlayerCommandText(playerid, cmdtext[])
	{
	if(!strcmp(cmdtext,"/boat",true))
    {
    SetPlayerHoldingObject(playerid, 8493, 1, 15, 0, 0, 0, 90, 0);
    return 1;
 	}
	return 0;
}



Re: need help - Tommie1331 - 06.10.2010

public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext,"/boat",true))
{
SetPlayerHoldingObject(playerid, 8493, 1, 15, 0, 0, 0, 90, 0);
return 1;
}
return 0;
}
what angle ill set to 45

SetPlayerHoldingObject(playerid, 8493, 1, 15, 0, 0, 45, 90, 0); i think that will work but im not sure i need a screen shot of the boats positsion


Re: need help - nicoud - 06.10.2010

the Xrot and Zrot makes it rotate on the side both the exacte same.


Re: need help - Tommie1331 - 06.10.2010

Mate i sent pm please send what i asked for so i can see


Re: need help - nicoud - 07.10.2010

this is taking some serious thinking if any one would help i will be very greatful. im using an item in my hand to simulate the boat and i can figure it out. id say its impossible but its not.