03.07.2013, 07:40
Urgh, try this:
pawn Код:
public OnVehicleMod(playerid, vehicleid, componentid)
{
if(GetPlayerInterior(playerid) == 0)
{
new str[256];
SendClientMessage(playerid,COLOR_WHITE,"{CC0000}[NOTICE] {FFFFFF}You've been banned from the server. Reason: Tune Hacks.");
format(str,sizeof(str),"{B30000}[SERVER] {FFFFFF}%s[%d] has banned from the server. (Tune Hacks).",playerid,PlayerName(playerid));
SendClientMessageToAll(0x33AA33AA,str);
DestroyVehicle(vehicleid);
BanEx(playerid, "Tune Hacks!!!");
}
return 1;
}