30.04.2012, 18:13
How i can make this only for plane or boats
If you need i will paste the all script
PHP код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_DRIVER)
{
if(LicenseInfo[playerid][Car] < 1)
{
SendClientMessage(playerid, 0xFF6347AA, "You can't drive this car, you don't have a license!");
RemovePlayerFromVehicle(playerid);
return 1; }
}
return 1;
}