How to make this if is possible?
#1

I know have too many things on samp btw one thing dont have like the real when i shoot car to burn but in car none player only alone car to shout it and to burn like the SINGLE PLAYER .. Is that possible?? Really need this if is possible.
Reply
#2

No..
Reply
#3

Nope,thats impossible
Reply
#4

Ah that the biggest thing which need samp to have If next version of samp have that will be more good for RPG servers.
Reply
#5

Calculate player front axis, than check if player have gun, than check if he press shot key, and than just set HP for vehicle in front of player

This is what I use to get player front view
pawn Код:
stock GetXYFrontOfPlayer(playerid,&Float:x,&Float:y,Float:distance)
{
    new Float:a;
    GetPlayerPos(playerid,x,y,a);
    GetPlayerFacingAngle(playerid,a);
    x += ( distance * floatsin( -a+180, degrees ));
    y += ( distance * floatcos( -a+180, degrees ));
}

In Use it would be
pawn Код:
new Float:x,Float:y,Float:z,Float:r;
    GetPlayerPos(playerid,x,y,z);
    GetXYFrontOfPlayer(playerid,x,y,-1.0);
In this way you can get front player point in 1.0 radiuss
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)