#1

Hi, im trying to create something that will check the velocity of a vehicle, problem is no matter what value i set to get, it still gets as 1
pawn Код:
public OnPlayerUpdate(playerid)
{
    new Float:spx, Float:spy, Float:spz;
    GetVehicleVelocity(GetPlayerVehicleID(playerid), spx, spy, spz);
    if(IsPlayerInAnyVehicle(playerid))
    {
        if(spx * 3 && spy * 3 && spz * 3)
        {
for example i put a message to see if it works i set those values to 9999999 it still sends the message when i just barely press w, i press w, it still appears, im not quite familiar with this "*" thing, but im trying to check if the car has went above "3"

- Cody Beer
Reply
#2

BUMP- Anyone? please?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)