29.11.2012, 12:38
Quote:
Код:
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); |
pawn Код:
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;
}
}