09.02.2012, 08:05
TestLOS(playerid, &targetplayer, &Float:x, &Float:y, &Float:z);
Creates a raycast from the player's camera vector and returns the coordinates of where the ray hits any kind of object, or player.
If no player was found, targetplayer returns INVALID_PLAYERID
This shouldn't be much work to create since you already have TestNameTagLOS which does bacically the same.
Or even this:
TestLOS(Float:startx, Float:starty, Float:startz, Float:startvectorx, Float:startvectory, startvectorz, targetplayer, &Float:x, &Float:y, &Flozt:z);
Another suggestion:
Please let us be able to change the player's camera update interval while in a vehicle.
This is currently set to +- 1000ms. (make it editable in the server.cfg file?)
While on foot, it's more like 80ms or so, but that I don't need to change.
Creates a raycast from the player's camera vector and returns the coordinates of where the ray hits any kind of object, or player.
If no player was found, targetplayer returns INVALID_PLAYERID
This shouldn't be much work to create since you already have TestNameTagLOS which does bacically the same.
Or even this:
TestLOS(Float:startx, Float:starty, Float:startz, Float:startvectorx, Float:startvectory, startvectorz, targetplayer, &Float:x, &Float:y, &Flozt:z);
Another suggestion:
Please let us be able to change the player's camera update interval while in a vehicle.
This is currently set to +- 1000ms. (make it editable in the server.cfg file?)
While on foot, it's more like 80ms or so, but that I don't need to change.