public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { PutPlayerInVehicle(playerid, vehicleid, 0); if(DM[playerid]) return SendClientMessage(playerid, 0xDEEE20FF, "Vaћinėti su maљina DM zonoje draudћiama!"); if(DM[playerid]) return RemovePlayerFromVehicle(playerid); return 1; }
if(DM[playerid]) return SendClientMessage(playerid, 0xDEEE20FF, "Vaћinėti su maљina DM zonoje draudћiama!");
if(DM[playerid]) return RemovePlayerFromVehicle(playerid);
Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { PutPlayerInVehicle(playerid, vehicleid, 0); if(DM[playerid]) return SendClientMessage(playerid, 0xDEEE20FF, "Vaћinėti su maљina DM zonoje draudћiama!"); if(DM[playerid]) return RemovePlayerFromVehicle(playerid); return 1; } Код:
if(DM[playerid]) return SendClientMessage(playerid, 0xDEEE20FF, "Vaћinėti su maљina DM zonoje draudћiama!"); Код:
if(DM[playerid]) return RemovePlayerFromVehicle(playerid); |
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
PutPlayerInVehicle(playerid, vehicleid, 0);
if(DM[playerid])
{
SendClientMessage(playerid, 0xDEEE20FF, "Vaћinėti su maљina DM zonoje draudћiama!");
RemovePlayerFromVehicle(playerid);
return 1;
}
}