[Help] Checking
#1

Hi,

Whether there is a command that looks at whether if I'm in the car?

Reply
#2

Can you explain a little bit better? or show us a picture? that might help us even more better.
Reply
#3

If the car is in my radius of 3, if you had a command?
Reply
#4

Do you mean is there a command which you type and then it tells you if you're in a vehicle or not?

pawn Код:
if(strcmp(cmdtext, "/carcheck", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
       if(IsPlayerInAnyVehicle(playerid)) SendClientMessage(playerid, -1, "You are in a vehicle.");
       return 1;
    }
}
return 0;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)