23.06.2014, 10:35
So, i trying make something when player shot by camera to car. But its not work, have to use GetPlayerCameraFrontVector or how another way?
Код:
new hittedvehicleid = GetPlayerVehicleID(playerid); new Float:x, Float:y, Float:z; if(weaponid == 43) { if(hittype == hittedvehicle) { //here code not work } }