Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: komedy
1. Jakie są komedy do hakowania serwerów w mta ?
Szukam Komed do MTA SA kt?re daj? Admina jesli ktos pomoze daje :piwo: !! !!!!!!!!!!
2. Jak dodac cene do komędy
Siemka, ucz? si? LUA i mam problem. Ot?? chc? da? np za felgi bierze 4000 Euro.
Nie wiem czy Temat dobrze brzmi, lecz nie mog? da? s?owa ''POMOC'' :D
function consoleAddUpgrade thePlayercommandNameid )
        if ( 
isPedInVehicle thePlayer ) ) then
            local id 
tonumber id )
            
local theVehicle getPedOccupiedVehicle thePlayer )
            
local success addVehicleUpgrade theVehicleid )
            if ( 
success then
                outputConsole 
getVehicleUpgradeSlotName id ) .. " upgrade added."thePlayer )
            else
                
outputConsole "Failed to add upgrade."thePlayer )
            
end
        
else
            
outputConsole "You must be in a vehicle!"thePlayer )
        
end
end
addCommandHandler 
"dodaj.tune"consoleAddUpgrade 

Za pomoc daje :arrow: :piwo:
3. [INNE] [INNE] Zapis i wczytanie czasu komedy areszt
Witajcie! Mam pewien problem i nie wiem jak go rozwi?za?... Ot?? zrobi? komend? na areszt gracza wszystko pi?knie ?adnie dzia?a czas si? odlicza. Tylko jest jeden k?opot. Jak gracz wyjdzie z serwera to czas w areszcie mu si? nie zapisuje, natomiast to ?e ma siedzie? w wi?zieniu tak. Zapis mam w dini...

Komenda:
[code]CMD:areszt(playerid, params[])
{
new Frakcja = gGracz[playerid][frakcja];
new id;
new iloscg = GetPlayerWantedLevel(playerid);
new Float: Pos[3];
GetPlayerPos(playerid, Pos[0],Pos[1],Pos[2]);
new Gracz[64];
new Gname[MAX_PLAYER_NAME];
GetPlayerName(playerid, Gname, sizeof(Gname));
format(Gracz, sizeof(Gracz),"/KONTO/%s.ini",Gname);
if(dini_Exists(Gracz))
{
if(Frakcja == 1 || Frakcja == 5)
{
if(sscanf(params,"u", id))
{
SendClientMessage(playerid, COLOR_SZARY, "U?yj: /areszt [id]");
}
else if(!IsPlayerConnected(id))
{
SendClientMessage(playerid, COLOR_SZARY, "Gracz nie istnieje!");
}
else if(id == playerid)
{
SendClientMessage(playerid, COLOR_SZARY, "Nie mo?esz sam siebie aresztowa?!");
}
else if(!IsPlayerInRangeOfPoint(id, 20.0, Pos[0],Pos[1],Pos[2]))
{
SendClientMessage(playerid, COLOR_SZARY, "Gracz jest za daleko!");
}
else
{
gGracz[id][jail] = 2;
dini_IntSet(Gracz, "Jail", gGracz[id][jail]);
SetPlayerWantedLevel(id, 0);
SetPlayerPos(id,264.9535,77.5068,1001.0391)...