Nr 815195
Enthusiast
Hey im trying to check if a player press the horn but it dont works
native:
i use this function to check this but its only printing when im horning
i find this thread http://www.se7ensins.com/forums/threads/new-mod-possible.836252/ but i dont understand this, did i must get the Network ID of the car bevor i can check the horn?
native:
Code:
extern boolean IS_PLAYER_PRESSING_HORN(Player playerIndex);
i use this function to check this but its only printing when im horning
Code:
for(i = 0;i <= 16;i++){
if(IS_PLAYER_PRESSING_HORN(i)){
print("Horning");
}
}
i find this thread http://www.se7ensins.com/forums/threads/new-mod-possible.836252/ but i dont understand this, did i must get the Network ID of the car bevor i can check the horn?