29.09.2013, 12:30
Hi,
Whether there is a command that looks at whether if I'm in the car?
Whether there is a command that looks at whether if I'm in the car?
if(strcmp(cmdtext, "/carcheck", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(IsPlayerInAnyVehicle(playerid)) SendClientMessage(playerid, -1, "You are in a vehicle.");
return 1;
}
}
return 0;
}