Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.

Wysłany: 2016-12-31, 01:14


TrawQ







Wiek: 21
Na forum: 2832 dni
Posty: 68
Nick w MP: TrawQ

Piwa: 2

Respekt: 60

Witam mam maly problem z animacjami ktore nie dzialaja
przykladowy kod animacji
addCommandHandler("cud",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopAnimacja)
    setPedAnimation plr"CARRY""crry_prtial", -1truefalse )
end)


oraz db3 (co do domk?w)
http://imgur.com/a/v1Sjm

prosz? o wskazanie b??du i najlepiej wyjasnienie jak naprawi? za pomoc stawiam piwko :) [/list]

Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-12-31, 10:34


_Haze

Peace Yo!






Wiek: 22
Na forum: 3440 dni
Posty: 1648
Nick w MP: Haze

Piwa: 2614

Respekt: 1020
Respekt: 1020

Nie po??czy?o ciebie do bazy danych. A do animacji to spr?buj podmieni? ispedinveh na getPedOccupiedVehicle bo ta funkcja si? cz?sto buguje.

Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-12-31, 10:36


ExtreM

Profesjonalny Mapper






Wiek: 31
Na forum: 2734 dni
Posty: 104
Nick w MP: ExtreM

Piwa: 462

Respekt: 86,8

Dobrze ju? Ci t?umacz? . Musisz poprawnie wgra? tabel? MYSQL do domk?w i dobrze wype?ni? dane w skrypcie ??cz?cym z MySQL (DB2 od domk?w)

M?g?by? da? db3 od animacji , poniewa? nie wiem co mo?e Ci nie dzia?a?.

Podpis
Discord : ExtreM#7905

Wykonuję profesjonalne mapy/interiory/exteriory na zamówienie!
Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-12-31, 13:22


TrawQ







Wiek: 21
Na forum: 2832 dni
Posty: 68
Nick w MP: TrawQ

Piwa: 2

Respekt: 60

Co do animacji to ju? naprawilem ale do domk?w to za bardzo nie rozumiem mo?esz mi to wytlumaczy? bardziej a najlepiej da? confing tej tabelki ?

Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-12-31, 14:10


xJakob







Wiek: 29
Na forum: 2917 dni
Posty: 164
Nick w MP: tylkoyolo

Piwa: 971

Respekt: 155,3
Respekt: 155,3Respekt: 155,3

Pod??cz domki pod mysql bo nie masz -,-

Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-12-31, 15:05


TrawQ







Wiek: 21
Na forum: 2832 dni
Posty: 68
Nick w MP: TrawQ

Piwa: 2

Respekt: 60

wiem ?e m?wi?em ze animacje ju? naprawilem ale okazalo sie sie nie w pelni bo animacja nie chce sie zatrzyma? m?g? by kto? poprawi? ten kod jesli oczywiscie ma czas
function stopanim()
setPedAnimation getLocalPlayer(), false)
end
bindKey(thePlayer"enter""down"stopanim )

addCommandHandler("sex1",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end

    setPedAnimation plr"sex""sex_1_cum_p", -1truefalse )
end)

addCommandHandler("sex2",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end

    setPedAnimation plr"sex""sex_1_cum_w", -1truefalse )
end)


addCommandHandler("dzwonisz",function(plr,cmd)
--[[
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
]]--
    setPedAnimationplr"ped""phone_in", -1falsefalsefalsetrue)
--  setPedAnimation plr"ped""handsup", -1falsefalse )
end)



addCommandHandler("rece",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"ped""handsup", -1falsefalse )
end)

addCommandHandler("taichi",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"PARK""Tai_Chi_Loop", -1truefalse )
end)

addCommandHandler("predator",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"BSKTBALL""BBALL_def_loop", -1truefalse )
end)

addCommandHandler("podkrecasz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"BAR""Barserve_glass", -1falsefalse )
end)

addCommandHandler("podsluchujesz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"BAR""Barserve_order", -1falsefalse )
end)

addCommandHandler("pijesz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"BAR""dnk_stndM_loop", -1truefalse )
end)


addCommandHandler("taniec",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"CHAINSAW""CSAW_Hit_2", -1truetrue )
end)



addCommandHandler("taniec2",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"SKATE""skate_idle", -1truefalse )
end)

addCommandHandler("taniec3",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"STRIP""strip_B", -1truefalse )
end)

addCommandHandler("taniec4",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"DANCING""dance_loop", -1truefalse )
end)

addCommandHandler("taniec5",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"DANCING""DAN_Down_A", -1truefalse )
end)

addCommandHandler("taniec6",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"STRIP""strip_G", -1truefalse )
end)

addCommandHandler("taniec7",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"STRIP""STR_C2", -1truefalse )
end)

addCommandHandler("taniec8",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"DANCING""dnce_M_b", -1truefalse )
end)

addCommandHandler("taniec9",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"DANCING""DAN_Loop_A", -1truefalse )
end)

addCommandHandler("taniec10",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"DANCING""dnce_M_d", -1truefalse )
end)

addCommandHandler("taniec11",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"STRIP""strip_D", -1truefalse )
end)

addCommandHandler("taniec12",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"STRIP""strip_E", -1truefalse )
end)

addCommandHandler("taniec13",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"STRIP""STR_Loop_A", -1truefalse )
end)

addCommandHandler("taniec14",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"STRIP""STR_Loop_B", -1truefalse )
end)

addCommandHandler("taniec15",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"FINALE""FIN_Cop1_Stomp", -1truefalse )
end)

addCommandHandler("taniec16",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"DANCING""dnce_M_a", -1truefalse )
end)

addCommandHandler("taniec17",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"GFUNK""Dance_G10", -1truefalse )
end)

addCommandHandler("taniec18",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"GFUNK""Dance_G11", -1truefalse )
end)

addCommandHandler("taniec19",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"GFUNK""Dance_G12", -1truefalse )
end)

addCommandHandler("taniec20",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"RUNNINGMAN""Dance_B1", -1truefalse )
end)

addCommandHandler("palisz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"LOWRIDER""M_smklean_loop", -1truefalse )
end)

addCommandHandler("lezysz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey("ENTER""down"stopanim)
    setPedAnimation plr"BEACH""Lay_Bac_Loop", -1truefalse )
end)

addCommandHandler("lezysz2",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"CRACK""crckidle2", -1truefalse )
end)

addCommandHandler("lezysz3",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"CRACK""crckidle4", -1truefalse )
end)

addCommandHandler("lezysz4",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"BEACH""ParkSit_W_loop", -1falsefalse )
end)

addCommandHandler("lezysz5",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"BEACH""SitnWait_loop_W", -1truefalse )
end)

addCommandHandler("siedzisz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"BEACH""ParkSit_M_loop", -1truefalse )
end)

addCommandHandler("siedzisz2",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"INT_OFFICE""OFF_Sit_Idle_Loop", -1truefalse )
end)

addCommandHandler("siedzisz3",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"JST_BUISNESS""girl_02", -1falsefalse )
end)

addCommandHandler("klekasz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"CAMERA""camstnd_to_camcrch", -1falsefalse )
end)

addCommandHandler("klekasz2",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"COP_AMBIENT""Copbrowse_nod", -1truefalse )
end)

addCommandHandler("czekasz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"COP_AMBIENT""Coplook_loop", -1truefalse )
end)

addCommandHandler("akrobata",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"DAM_JUMP""DAM_Dive_Loop", -1falsefalse )
end)

addCommandHandler("msza",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"DEALER""DEALER_IDLE", -1truefalse )
end)

addCommandHandler("msza2",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"GRAVEYARD""mrnM_loop", -1falsefalse )
end)

addCommandHandler("znakkrzyza",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"GANGS""hndshkcb", -1truefalse )
end)

addCommandHandler("rzygasz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"FOOD""EAT_Vomit_P", -1truefalse )
end)

addCommandHandler("jesz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"FOOD""EAT_Burger", -1truefalse )
end)

addCommandHandler("cpun1",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"GANGS""drnkbr_prtl", -1truefalse )
end)

addCommandHandler("cpun2",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"GANGS""smkcig_prtl", -1truefalse )
end)

addCommandHandler("cpun3",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"CRACK""Bbalbat_Idle_01", -1truefalse )
end)

addCommandHandler("cpun4",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"CRACK""Bbalbat_Idle_02", -1truefalse )
end)

addCommandHandler("witasz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"GANGS""hndshkba", -1truefalse )
end)

addCommandHandler("rozmawiasz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"GANGS""prtial_gngtlkH", -1truefalse )
end)

addCommandHandler("rozmawiasz2",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"GANGS""prtial_gngtlkG", -1truefalse )
end)

addCommandHandler("rozmawiasz3",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"GANGS""prtial_gngtlkD", -1truefalse )
end)

addCommandHandler("nerwowy",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"GHANDS""gsign2", -1truefalse )
end)

addCommandHandler("piszesz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"INT_OFFICE""OFF_Sit_Type_Loop", -1truefalse )
end)

addCommandHandler("gay",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"ped""WOMAN_walksexy", -1truetrue )
end)

addCommandHandler("gay2",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"ped""WOMAN_walkpro", -1truetrue )
end)

addCommandHandler("gay3",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"ped""WOMAN_runsexy", -1truetrue )
end)

addCommandHandler("wreczasz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"KISSING""gift_give", -1falsefalse )
end)

addCommandHandler("machasz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"KISSING""gfwave2", -1truefalse )
end)

addCommandHandler("walisz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"PAULNMAC""wank_loop", -1truefalse )
end)

addCommandHandler("walisz2",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"MISC""Scratchballs_01", -1truefalse )
end)

addCommandHandler("sikasz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    setPedAnimation plr"PAULNMAC""Piss_loop", -1truefalse )
end)


Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-12-31, 15:09


xJakob







Wiek: 29
Na forum: 2917 dni
Posty: 164
Nick w MP: tylkoyolo

Piwa: 971

Respekt: 155,3
Respekt: 155,3Respekt: 155,3

TrawQ, dodaj to


    bindKey(plr"ENTER""down"stopAnimacja


[ Dodano: 2016-12-31, 15:10 ]
TrawQ, przyk?ad

addCommandHandler("noga",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopAnimacja)
    setPedAnimation plr"SHOP""SHP_Jump_Glide", -1falsefalse )
end)


Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-12-31, 17:40


TrawQ







Wiek: 21
Na forum: 2832 dni
Posty: 68
Nick w MP: TrawQ

Piwa: 2

Respekt: 60

doda?em i nadal nie dzia?a ale zauwa?y?em co? w db3 wiesz mo?e co to powoduje ?
Kod:

[2016-12-31 17:39] WARNING: animacje/server.lua:4: Bad argument @ 'bindKey' [Expected player at argument 1, got nil]


Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-12-31, 17:45


xJakob







Wiek: 29
Na forum: 2917 dni
Posty: 164
Nick w MP: tylkoyolo

Piwa: 971

Respekt: 155,3
Respekt: 155,3Respekt: 155,3

Poka? jaki teraz masz kod

[ Dodano: 2016-12-31, 17:51 ]
Tak kod powinien wygl?da?


function stopanim()
setPedAnimation getLocalPlayer(), false)
end
bindKey(plr"ENTER""down"stopanim)

addCommandHandler("sex1",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"sex""sex_1_cum_p", -1truefalse )
end)

addCommandHandler("sex2",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"sex""sex_1_cum_w", -1truefalse )
end)


addCommandHandler("dzwonisz",function(plr,cmd)
--[[
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
]]--
    setPedAnimationplr"ped""phone_in", -1falsefalsefalsetrue)
--  setPedAnimation plr"ped""handsup", -1falsefalse )
end)



addCommandHandler("rece",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"ped""handsup", -1falsefalse )
end)

addCommandHandler("taichi",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"PARK""Tai_Chi_Loop", -1truefalse )
end)

addCommandHandler("predator",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"BSKTBALL""BBALL_def_loop", -1truefalse )
end)

addCommandHandler("podkrecasz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"BAR""Barserve_glass", -1falsefalse )
end)

addCommandHandler("podsluchujesz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"BAR""Barserve_order", -1falsefalse )
end)

addCommandHandler("pijesz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"BAR""dnk_stndM_loop", -1truefalse )
end)


addCommandHandler("taniec",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"CHAINSAW""CSAW_Hit_2", -1truetrue )
end)



addCommandHandler("taniec2",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"SKATE""skate_idle", -1truefalse )
end)

addCommandHandler("taniec3",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"STRIP""strip_B", -1truefalse )
end)

addCommandHandler("taniec4",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"DANCING""dance_loop", -1truefalse )
end)

addCommandHandler("taniec5",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"DANCING""DAN_Down_A", -1truefalse )
end)

addCommandHandler("taniec6",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"STRIP""strip_G", -1truefalse )
end)

addCommandHandler("taniec7",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"STRIP""STR_C2", -1truefalse )
end)

addCommandHandler("taniec8",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"DANCING""dnce_M_b", -1truefalse )
end)

addCommandHandler("taniec9",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"DANCING""DAN_Loop_A", -1truefalse )
end)

addCommandHandler("taniec10",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"DANCING""dnce_M_d", -1truefalse )
end)

addCommandHandler("taniec11",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"STRIP""strip_D", -1truefalse )
end)

addCommandHandler("taniec12",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"STRIP""strip_E", -1truefalse )
end)

addCommandHandler("taniec13",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"STRIP""STR_Loop_A", -1truefalse )
end)

addCommandHandler("taniec14",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"STRIP""STR_Loop_B", -1truefalse )
end)

addCommandHandler("taniec15",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"FINALE""FIN_Cop1_Stomp", -1truefalse )
end)

addCommandHandler("taniec16",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"DANCING""dnce_M_a", -1truefalse )
end)

addCommandHandler("taniec17",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"GFUNK""Dance_G10", -1truefalse )
end)

addCommandHandler("taniec18",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"GFUNK""Dance_G11", -1truefalse )
end)

addCommandHandler("taniec19",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"GFUNK""Dance_G12", -1truefalse )
end)

addCommandHandler("taniec20",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"RUNNINGMAN""Dance_B1", -1truefalse )
end)

addCommandHandler("palisz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"LOWRIDER""M_smklean_loop", -1truefalse )
end)

addCommandHandler("lezysz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey("ENTER""down"stopanim)
    setPedAnimation plr"BEACH""Lay_Bac_Loop", -1truefalse )
end)

addCommandHandler("lezysz2",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"CRACK""crckidle2", -1truefalse )
end)

addCommandHandler("lezysz3",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"CRACK""crckidle4", -1truefalse )
end)

addCommandHandler("lezysz4",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"BEACH""ParkSit_W_loop", -1falsefalse )
end)

addCommandHandler("lezysz5",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"BEACH""SitnWait_loop_W", -1truefalse )
end)

addCommandHandler("siedzisz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"BEACH""ParkSit_M_loop", -1truefalse )
end)

addCommandHandler("siedzisz2",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"INT_OFFICE""OFF_Sit_Idle_Loop", -1truefalse )
end)

addCommandHandler("siedzisz3",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"JST_BUISNESS""girl_02", -1falsefalse )
end)

addCommandHandler("klekasz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"CAMERA""camstnd_to_camcrch", -1falsefalse )
end)

addCommandHandler("klekasz2",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"COP_AMBIENT""Copbrowse_nod", -1truefalse )
end)

addCommandHandler("czekasz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"COP_AMBIENT""Coplook_loop", -1truefalse )
end)

addCommandHandler("akrobata",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"DAM_JUMP""DAM_Dive_Loop", -1falsefalse )
end)

addCommandHandler("msza",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"DEALER""DEALER_IDLE", -1truefalse )
end)

addCommandHandler("msza2",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"GRAVEYARD""mrnM_loop", -1falsefalse )
end)

addCommandHandler("znakkrzyza",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"GANGS""hndshkcb", -1truefalse )
end)

addCommandHandler("rzygasz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"FOOD""EAT_Vomit_P", -1truefalse )
end)

addCommandHandler("jesz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"FOOD""EAT_Burger", -1truefalse )
end)

addCommandHandler("cpun1",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"GANGS""drnkbr_prtl", -1truefalse )
end)

addCommandHandler("cpun2",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"GANGS""smkcig_prtl", -1truefalse )
end)

addCommandHandler("cpun3",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"CRACK""Bbalbat_Idle_01", -1truefalse )
end)

addCommandHandler("cpun4",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"CRACK""Bbalbat_Idle_02", -1truefalse )
end)

addCommandHandler("witasz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"GANGS""hndshkba", -1truefalse )
end)

addCommandHandler("rozmawiasz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"GANGS""prtial_gngtlkH", -1truefalse )
end)

addCommandHandler("rozmawiasz2",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"GANGS""prtial_gngtlkG", -1truefalse )
end)

addCommandHandler("rozmawiasz3",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"GANGS""prtial_gngtlkD", -1truefalse )
end)

addCommandHandler("nerwowy",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"GHANDS""gsign2", -1truefalse )
end)

addCommandHandler("piszesz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"INT_OFFICE""OFF_Sit_Type_Loop", -1truefalse )
end)

addCommandHandler("gay",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"ped""WOMAN_walksexy", -1truetrue )
end)

addCommandHandler("gay2",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"ped""WOMAN_walkpro", -1truetrue )
end)

addCommandHandler("gay3",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"ped""WOMAN_runsexy", -1truetrue )
end)

addCommandHandler("wreczasz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"KISSING""gift_give", -1falsefalse )
end)

addCommandHandler("machasz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"KISSING""gfwave2", -1truefalse )
end)

addCommandHandler("walisz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"PAULNMAC""wank_loop", -1truefalse )
end)

addCommandHandler("walisz2",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"MISC""Scratchballs_01", -1truefalse )
end)

addCommandHandler("sikasz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"PAULNMAC""Piss_loop", -1truefalse )
end)


Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-12-31, 18:16


TrawQ







Wiek: 21
Na forum: 2832 dni
Posty: 68
Nick w MP: TrawQ

Piwa: 2

Respekt: 60

kod byl indentyczny dla pewnosci skopiowalem nadal nie dziala ale pojawi? si? nowy b??d w db3
Kod:

[2016-12-31 18:13] ERROR: animacje/server.lua:2: attempt to call global 'getLocalPlayer' (a nil value)
[2016-12-31 18:15] WARNING: k***/server.lua:4: Bad argument @ 'bindKey' [Expected player at argument 1, got nil]


a tutaj dla pewnosci daje kod
function stopanim()
setPedAnimation getLocalPlayer(), false)
end
bindKey(plr"ENTER""down"stopanim)

addCommandHandler("sex1",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"sex""sex_1_cum_p", -1truefalse )
end)

addCommandHandler("sex2",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"sex""sex_1_cum_w", -1truefalse )
end)


addCommandHandler("dzwonisz",function(plr,cmd)
--[[
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
]]--
    setPedAnimationplr"ped""phone_in", -1falsefalsefalsetrue)
--  setPedAnimation plr"ped""handsup", -1falsefalse )
end)



addCommandHandler("rece",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"ped""handsup", -1falsefalse )
end)

addCommandHandler("taichi",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"PARK""Tai_Chi_Loop", -1truefalse )
end)

addCommandHandler("predator",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"BSKTBALL""BBALL_def_loop", -1truefalse )
end)

addCommandHandler("podkrecasz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"BAR""Barserve_glass", -1falsefalse )
end)

addCommandHandler("podsluchujesz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"BAR""Barserve_order", -1falsefalse )
end)

addCommandHandler("pijesz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"BAR""dnk_stndM_loop", -1truefalse )
end)


addCommandHandler("taniec",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"CHAINSAW""CSAW_Hit_2", -1truetrue )
end)



addCommandHandler("taniec2",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"SKATE""skate_idle", -1truefalse )
end)

addCommandHandler("taniec3",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"STRIP""strip_B", -1truefalse )
end)

addCommandHandler("taniec4",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"DANCING""dance_loop", -1truefalse )
end)

addCommandHandler("taniec5",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"DANCING""DAN_Down_A", -1truefalse )
end)

addCommandHandler("taniec6",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"STRIP""strip_G", -1truefalse )
end)

addCommandHandler("taniec7",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"STRIP""STR_C2", -1truefalse )
end)

addCommandHandler("taniec8",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"DANCING""dnce_M_b", -1truefalse )
end)

addCommandHandler("taniec9",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"DANCING""DAN_Loop_A", -1truefalse )
end)

addCommandHandler("taniec10",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"DANCING""dnce_M_d", -1truefalse )
end)

addCommandHandler("taniec11",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"STRIP""strip_D", -1truefalse )
end)

addCommandHandler("taniec12",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"STRIP""strip_E", -1truefalse )
end)

addCommandHandler("taniec13",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"STRIP""STR_Loop_A", -1truefalse )
end)

addCommandHandler("taniec14",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"STRIP""STR_Loop_B", -1truefalse )
end)

addCommandHandler("taniec15",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"FINALE""FIN_Cop1_Stomp", -1truefalse )
end)

addCommandHandler("taniec16",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"DANCING""dnce_M_a", -1truefalse )
end)

addCommandHandler("taniec17",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"GFUNK""Dance_G10", -1truefalse )
end)

addCommandHandler("taniec18",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"GFUNK""Dance_G11", -1truefalse )
end)

addCommandHandler("taniec19",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"GFUNK""Dance_G12", -1truefalse )
end)

addCommandHandler("taniec20",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"RUNNINGMAN""Dance_B1", -1truefalse )
end)

addCommandHandler("palisz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"LOWRIDER""M_smklean_loop", -1truefalse )
end)

addCommandHandler("lezysz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey("ENTER""down"stopanim)
    setPedAnimation plr"BEACH""Lay_Bac_Loop", -1truefalse )
end)

addCommandHandler("lezysz2",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"CRACK""crckidle2", -1truefalse )
end)

addCommandHandler("lezysz3",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"CRACK""crckidle4", -1truefalse )
end)

addCommandHandler("lezysz4",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"BEACH""ParkSit_W_loop", -1falsefalse )
end)

addCommandHandler("lezysz5",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"BEACH""SitnWait_loop_W", -1truefalse )
end)

addCommandHandler("siedzisz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"BEACH""ParkSit_M_loop", -1truefalse )
end)

addCommandHandler("siedzisz2",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"INT_OFFICE""OFF_Sit_Idle_Loop", -1truefalse )
end)

addCommandHandler("siedzisz3",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"JST_BUISNESS""girl_02", -1falsefalse )
end)

addCommandHandler("klekasz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"CAMERA""camstnd_to_camcrch", -1falsefalse )
end)

addCommandHandler("klekasz2",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"COP_AMBIENT""Copbrowse_nod", -1truefalse )
end)

addCommandHandler("czekasz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"COP_AMBIENT""Coplook_loop", -1truefalse )
end)

addCommandHandler("akrobata",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"DAM_JUMP""DAM_Dive_Loop", -1falsefalse )
end)

addCommandHandler("msza",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"DEALER""DEALER_IDLE", -1truefalse )
end)

addCommandHandler("msza2",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"GRAVEYARD""mrnM_loop", -1falsefalse )
end)

addCommandHandler("znakkrzyza",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"GANGS""hndshkcb", -1truefalse )
end)

addCommandHandler("rzygasz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"FOOD""EAT_Vomit_P", -1truefalse )
end)

addCommandHandler("jesz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"FOOD""EAT_Burger", -1truefalse )
end)

addCommandHandler("cpun1",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"GANGS""drnkbr_prtl", -1truefalse )
end)

addCommandHandler("cpun2",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"GANGS""smkcig_prtl", -1truefalse )
end)

addCommandHandler("cpun3",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"CRACK""Bbalbat_Idle_01", -1truefalse )
end)

addCommandHandler("cpun4",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"CRACK""Bbalbat_Idle_02", -1truefalse )
end)

addCommandHandler("witasz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"GANGS""hndshkba", -1truefalse )
end)

addCommandHandler("rozmawiasz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"GANGS""prtial_gngtlkH", -1truefalse )
end)

addCommandHandler("rozmawiasz2",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"GANGS""prtial_gngtlkG", -1truefalse )
end)

addCommandHandler("rozmawiasz3",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"GANGS""prtial_gngtlkD", -1truefalse )
end)

addCommandHandler("nerwowy",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"GHANDS""gsign2", -1truefalse )
end)

addCommandHandler("piszesz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"INT_OFFICE""OFF_Sit_Type_Loop", -1truefalse )
end)

addCommandHandler("gay",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"ped""WOMAN_walksexy", -1truetrue )
end)

addCommandHandler("gay2",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"ped""WOMAN_walkpro", -1truetrue )
end)

addCommandHandler("gay3",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"ped""WOMAN_runsexy", -1truetrue )
end)

addCommandHandler("wreczasz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"KISSING""gift_give", -1falsefalse )
end)

addCommandHandler("machasz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"KISSING""gfwave2", -1truefalse )
end)

addCommandHandler("walisz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"PAULNMAC""wank_loop", -1truefalse )
end)

addCommandHandler("walisz2",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"MISC""Scratchballs_01", -1truefalse )
end)

addCommandHandler("sikasz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"PAULNMAC""Piss_loop", -1truefalse )
end)


Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-12-31, 18:25


xJakob







Wiek: 29
Na forum: 2917 dni
Posty: 164
Nick w MP: tylkoyolo

Piwa: 971

Respekt: 155,3
Respekt: 155,3Respekt: 155,3

Podmie?:

function stopanim()
setPedAnimation getLocalPlayer(), false)
end
bindKey(plr"ENTER""down"stopanim)



function stopanim(plr)
    setPedAnimation(plrfalse)
    unbindKey(plr"ENTER""down"stopanim)
end


Teraz

Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-12-31, 18:32


TrawQ







Wiek: 21
Na forum: 2832 dni
Posty: 68
Nick w MP: TrawQ

Piwa: 2

Respekt: 60

nadal nic ale tamten b??d znikn?? ale nadal nie da sie przerwa? animi

[ Dodano: 2016-12-31, 18:39 ]
Kod:

[2016-12-31 18:37] ERROR: Loading script failed: animacje/server.lua:6: 'eof>' expected near 'end'


Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-12-31, 18:41


xJakob







Wiek: 29
Na forum: 2917 dni
Posty: 164
Nick w MP: tylkoyolo

Piwa: 971

Respekt: 155,3
Respekt: 155,3Respekt: 155,3

a usu? w?a?nie to:

function stopanim(plr)
    setPedAnimation(plrfalse)
    unbindKey(plr"ENTER""down"stopanim)
end


Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-12-31, 18:50


TrawQ







Wiek: 21
Na forum: 2832 dni
Posty: 68
Nick w MP: TrawQ

Piwa: 2

Respekt: 60

nadal ni? zatrzyma? animacji kod wygl?da tak


addCommandHandler("sex1",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"sex""sex_1_cum_p", -1truefalse )
end)

addCommandHandler("sex2",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"sex""sex_1_cum_w", -1truefalse )
end)


addCommandHandler("dzwonisz",function(plr,cmd)
--[[
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
]]--
    setPedAnimationplr"ped""phone_in", -1falsefalsefalsetrue)
--  setPedAnimation plr"ped""handsup", -1falsefalse )
end)



addCommandHandler("rece",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    unbindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"ped""handsup", -1falsefalse )
end)

addCommandHandler("taichi",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"PARK""Tai_Chi_Loop", -1truefalse )
end)

addCommandHandler("predator",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"BSKTBALL""BBALL_def_loop", -1truefalse )
end)

addCommandHandler("podkrecasz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"BAR""Barserve_glass", -1falsefalse )
end)

addCommandHandler("podsluchujesz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"BAR""Barserve_order", -1falsefalse )
end)

addCommandHandler("pijesz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"BAR""dnk_stndM_loop", -1truefalse )
end)


addCommandHandler("taniec",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    unbindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"CHAINSAW""CSAW_Hit_2", -1truetrue )
end)



addCommandHandler("taniec2",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"SKATE""skate_idle", -1truefalse )
end)

addCommandHandler("taniec3",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"STRIP""strip_B", -1truefalse )
end)

addCommandHandler("taniec4",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"DANCING""dance_loop", -1truefalse )
end)

addCommandHandler("taniec5",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"DANCING""DAN_Down_A", -1truefalse )
end)

addCommandHandler("taniec6",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"STRIP""strip_G", -1truefalse )
end)

addCommandHandler("taniec7",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"STRIP""STR_C2", -1truefalse )
end)

addCommandHandler("taniec8",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"DANCING""dnce_M_b", -1truefalse )
end)

addCommandHandler("taniec9",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"DANCING""DAN_Loop_A", -1truefalse )
end)

addCommandHandler("taniec10",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"DANCING""dnce_M_d", -1truefalse )
end)

addCommandHandler("taniec11",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"STRIP""strip_D", -1truefalse )
end)

addCommandHandler("taniec12",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"STRIP""strip_E", -1truefalse )
end)

addCommandHandler("taniec13",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"STRIP""STR_Loop_A", -1truefalse )
end)

addCommandHandler("taniec14",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"STRIP""STR_Loop_B", -1truefalse )
end)

addCommandHandler("taniec15",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"FINALE""FIN_Cop1_Stomp", -1truefalse )
end)

addCommandHandler("taniec16",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"DANCING""dnce_M_a", -1truefalse )
end)

addCommandHandler("taniec17",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"GFUNK""Dance_G10", -1truefalse )
end)

addCommandHandler("taniec18",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"GFUNK""Dance_G11", -1truefalse )
end)

addCommandHandler("taniec19",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"GFUNK""Dance_G12", -1truefalse )
end)

addCommandHandler("taniec20",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"RUNNINGMAN""Dance_B1", -1truefalse )
end)

addCommandHandler("palisz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"LOWRIDER""M_smklean_loop", -1truefalse )
end)

addCommandHandler("lezysz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey("ENTER""down"stopanim)
    setPedAnimation plr"BEACH""Lay_Bac_Loop", -1truefalse )
end)

addCommandHandler("lezysz2",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"CRACK""crckidle2", -1truefalse )
end)

addCommandHandler("lezysz3",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"CRACK""crckidle4", -1truefalse )
end)

addCommandHandler("lezysz4",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"BEACH""ParkSit_W_loop", -1falsefalse )
end)

addCommandHandler("lezysz5",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"BEACH""SitnWait_loop_W", -1truefalse )
end)

addCommandHandler("siedzisz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"BEACH""ParkSit_M_loop", -1truefalse )
end)

addCommandHandler("siedzisz2",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"INT_OFFICE""OFF_Sit_Idle_Loop", -1truefalse )
end)

addCommandHandler("siedzisz3",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"JST_BUISNESS""girl_02", -1falsefalse )
end)

addCommandHandler("klekasz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"CAMERA""camstnd_to_camcrch", -1falsefalse )
end)

addCommandHandler("klekasz2",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"COP_AMBIENT""Copbrowse_nod", -1truefalse )
end)

addCommandHandler("czekasz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"COP_AMBIENT""Coplook_loop", -1truefalse )
end)

addCommandHandler("akrobata",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"DAM_JUMP""DAM_Dive_Loop", -1falsefalse )
end)

addCommandHandler("msza",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"DEALER""DEALER_IDLE", -1truefalse )
end)

addCommandHandler("msza2",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"GRAVEYARD""mrnM_loop", -1falsefalse )
end)

addCommandHandler("znakkrzyza",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"GANGS""hndshkcb", -1truefalse )
end)

addCommandHandler("rzygasz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"FOOD""EAT_Vomit_P", -1truefalse )
end)

addCommandHandler("jesz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"FOOD""EAT_Burger", -1truefalse )
end)

addCommandHandler("cpun1",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"GANGS""drnkbr_prtl", -1truefalse )
end)

addCommandHandler("cpun2",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"GANGS""smkcig_prtl", -1truefalse )
end)

addCommandHandler("cpun3",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"CRACK""Bbalbat_Idle_01", -1truefalse )
end)

addCommandHandler("cpun4",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"CRACK""Bbalbat_Idle_02", -1truefalse )
end)

addCommandHandler("witasz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"GANGS""hndshkba", -1truefalse )
end)

addCommandHandler("rozmawiasz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"GANGS""prtial_gngtlkH", -1truefalse )
end)

addCommandHandler("rozmawiasz2",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"GANGS""prtial_gngtlkG", -1truefalse )
end)

addCommandHandler("rozmawiasz3",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"GANGS""prtial_gngtlkD", -1truefalse )
end)

addCommandHandler("nerwowy",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"GHANDS""gsign2", -1truefalse )
end)

addCommandHandler("piszesz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"INT_OFFICE""OFF_Sit_Type_Loop", -1truefalse )
end)

addCommandHandler("gay",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"ped""WOMAN_walksexy", -1truetrue )
end)

addCommandHandler("gay2",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"ped""WOMAN_walkpro", -1truetrue )
end)

addCommandHandler("gay3",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"ped""WOMAN_runsexy", -1truetrue )
end)

addCommandHandler("wreczasz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"KISSING""gift_give", -1falsefalse )
end)

addCommandHandler("machasz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"KISSING""gfwave2", -1truefalse )
end)

addCommandHandler("walisz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"PAULNMAC""wank_loop", -1truefalse )
end)

addCommandHandler("walisz2",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"MISC""Scratchballs_01", -1truefalse )
end)

addCommandHandler("sikasz",function(plr,cmd)
    if (isPedInVehicle(plr)) then
        outputChatBox("Najpierw wysiadz z pojazdu"plr)
        return
    end
    bindKey(plr"ENTER""down"stopanim)
    setPedAnimation plr"PAULNMAC""Piss_loop", -1truefalse )
end)


Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-12-31, 19:05


xJakob







Wiek: 29
Na forum: 2917 dni
Posty: 164
Nick w MP: tylkoyolo

Piwa: 971

Respekt: 155,3
Respekt: 155,3Respekt: 155,3

Postaw piwo autorowi tego posta
 

 
Tagi: domki :: animacje
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » LUA » domki i animacje Ten temat jest zablokowany bez możliwości zmiany postów lub pisania odpowiedzi

Nie możesz pisać nowych tematów
Nie możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz głosować w ankietach
Dodaj temat do Ulubionych
Wersja do druku