Helmet script
#9

Quote:
Originally Posted by wumpyc
Посмотреть сообщение
yep i wont without any commands...only if you are on bike get helmet else not
Ignore him, from my post, it doesn't attaches anything to you when you /seatbelt or /helmet.



And...
Maybe you could do
pawn Код:
new Helmet; // Top of code
On GameMode init
Helmet = SetPlayerAttachedObject(playerid, 1, 18645, 2, 0.07, 0, 0, 88, 75, 0);
if (
 vehicleid == 522 ||
 vehicleid == 509 ||
 vehicleid == 481 ||
 vehicleid == 510 ||
 vehicleid == 462 ||
 vehicleid == 448 ||
 vehicleid == 581 ||
 vehicleid == 461 ||
 vehicleid == 521 ||
 vehicleid == 523 ||
 vehicleid == 463 ||
 vehicleid == 586 ||
 vehicleid == 468 ||
 vehicleid == 471
)
SetPlayerAttachedObject(playerid, helmet, 18645, 2, 0.07, 0, 0, 88, 75, 0);

On Player Exit Vehicle
if (
 vehicleid == 522 ||
 vehicleid == 509 ||
 vehicleid == 481 ||
 vehicleid == 510 ||
 vehicleid == 462 ||
 vehicleid == 448 ||
 vehicleid == 581 ||
 vehicleid == 461 ||
 vehicleid == 521 ||
 vehicleid == 523 ||
 vehicleid == 463 ||
 vehicleid == 586 ||
 vehicleid == 468 ||
 vehicleid == 471
) RemovePlayerAttachedObject(playerid,helmet);
Reply


Messages In This Thread
Helmet script - by wumpyc - 04.10.2011, 11:55
Re: Helmet script - by TheMaddox - 04.10.2011, 11:57
Re: Helmet script - by [GOD]Dragonster82 - 04.10.2011, 12:03
Re: Helmet script - by hittt - 04.10.2011, 12:04
Re: Helmet script - by wumpyc - 04.10.2011, 12:09
Re: Helmet script - by hittt - 04.10.2011, 12:11
Re: Helmet script - by wumpyc - 04.10.2011, 12:11
Re: Helmet script - by [MG]Dimi - 04.10.2011, 12:14
Re: Helmet script - by [GOD]Dragonster82 - 04.10.2011, 12:16
Re: Helmet script - by [MG]Dimi - 04.10.2011, 12:17

Forum Jump:


Users browsing this thread: 1 Guest(s)