[Question] How to put helmet?
#1

Hello, i found a server, and when you use /helmet in a bike, it gives you a helmet in the head of your character.

How to do this? Its an object?
Reply
#2

Well, I'm not sure of the object ID but you attatch the object to the offset of the character with AttatchObjectToPlayer.
Reply
#3

Um...i prefer not to use it as it will be buggy and make the person look like hell...
Reply
#4

Yeah you need to change it's angle with a timer every half seconds...
Reply
#5

Yea I Got it :3

Код:
if(strcmp(cmd, "/helmet",true) == 0) {
		SetPlayerAttachedObject(playerid,3 , 18645, 2, 0.07, 0.017, 0, 88, 75, 0);
		return 1;
	}
Just Copy/Paste, Compile and have fun !
Reply
#6

Use this auto helmet for bikes

https://sampforum.blast.hk/showthread.php?tid=194211
Reply
#7

i made the helmet thing but i cant take it off why
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)