Crash problem(Help)
#3

Try this
pawn Код:
stock Name(playerid)
{
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, sizeof(name));
    return name;
}
public OnVehicleMod(playerid,vehicleid,componentid)
{
    if(GetPlayerInterior(playerid) == 0)
    {
        SendClientMessage(playerid, 0x33AA33AA, "You Are banned for Car Tuning hacks!");
        format(str,sizeof(str),"%s has banned for server Reason: Car tuning hacks!",Name(playerid));
        SendClientMessageToAll(0x33AA33AA,str);
        BanEx(playerid, "Car Tuning Hacks");
    }
    return 1;
}
Reply


Messages In This Thread
Crash problem(Help) - by HavingGood - 21.01.2013, 09:29
AW: Crash problem(Help) - by Blackazur - 21.01.2013, 09:36
Re: Crash problem(Help) - by DaRk_RaiN - 21.01.2013, 10:37
Re: Crash problem(Help) - by HavingGood - 21.01.2013, 13:20

Forum Jump:


Users browsing this thread: 2 Guest(s)