SA-MP Forums Archive
Help in Pizza Boy Job - 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)
+--- Thread: Help in Pizza Boy Job (/showthread.php?tid=329549)



Help in Pizza Boy Job - Harish - 29.03.2012

Hi Samp Community..I created a Pizza boy Job with pizza boy skin ID: 155
I done all okay. but when i drive straight on road he stands and drive.I know its not important.but i don't want him to stand while driving.when i turn left or right he is in sitting pose . can any one help to me solve this..

Thanks in advance..

Regards.,

Harish.M


Re: Help in Pizza Boy Job - Nicholas. - 29.03.2012

You need to show some codes.


Re: Help in Pizza Boy Job - Harish - 29.03.2012

I don't think its a code problem.because I tested without any code just put the skin to 155 and a pizza bike and he stands while driving straight.is there any other skin for pizza boy.


Re: Help in Pizza Boy Job - Reklez - 29.03.2012

Are you setting the player skin after the player rides the vehicle?


Re: Help in Pizza Boy Job - jaydon - 29.03.2012

Yes as reklez said, you need to set it before you get onto the bike.


Re: Help in Pizza Boy Job - Reklez - 29.03.2012

@jaydon

Well lol i don't mean after player rides the skin will set

i'm asking if he is setting player skin to pizza boy after player rides in the pizza vehicle.
because setting player skin while in vehicle makes them stand.


Re: Help in Pizza Boy Job - jaydon - 29.03.2012

The best thing to do is OnPlayerEnterVehicle check if it a pizza bike, if it is, SetPlayerSkin, if not return 0;


Re: Help in Pizza Boy Job - Harish - 29.03.2012

Yes in My code on player type /takepizza he will send out and put in free pizza vehicle .


Re: Help in Pizza Boy Job - Harish - 29.03.2012

Is this will help me.Please verify
On Player Type /takepizza . SetPlayerSkin
and some timer to put him to free pizza vehicle..and also the same for onplayer exit vehicle . to change him as normal skin.


Re: Help in Pizza Boy Job - Harish - 29.03.2012

Guys thanks for your reply..

and i made a pickup and change the skin and after that putplayerin vehicle was used

it works fine..


Thanks