Posts: 80
Threads: 28
Joined: Nov 2012
Reputation:
0
Hey i need help with vehicle and player healt .
If i go into car then if i crash with the car then my hp goes down .and my hp bar shows car hp ..
I dont want if my car hits wall then my hp goes to down -.-
Posts: 80
Threads: 28
Joined: Nov 2012
Reputation:
0
hmm..
error 017: undefined symbol "health"
Posts: 432
Threads: 34
Joined: Apr 2013
Reputation:
0
Sorry type it also :
new Float:health;
Posts: 80
Threads: 28
Joined: Nov 2012
Reputation:
0
no errors now , but i tested it , and still goes hp down in my hp bar if i hit with car somewhere
Posts: 80
Threads: 28
Joined: Nov 2012
Reputation:
0
my hp bar like shows cars hp
and if i enter the vehicle i die automatically if i enter .
Posts: 432
Threads: 34
Joined: Apr 2013
Reputation:
0
Sorry i think u want to set ur hp with vehicle hp , but i think its not possible coz how a compiler get to know that u r going to hit with wall.