[Help] Checking
#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


Messages In This Thread
[Help] Checking - by AlmirDelic - 29.09.2013, 12:30
Re: [Help] Checking - by Patrick - 29.09.2013, 12:36
Re: [Help] Checking - by AlmirDelic - 29.09.2013, 12:38
Re: [Help] Checking - by Tropicali - 29.09.2013, 12:40

Forum Jump:


Users browsing this thread: 1 Guest(s)