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

Wysłany: 2016-01-19, 16:01


Axmell

E-Commerce






Wiek: 24
Na forum: 3810 dni
Posty: 279
Nick w MP: %Axmell

Piwa: 224

Respekt: 50

Chodzi i to, ?e nie wiem jak zrobic zeby po WJECHANIU w marker pobiera?o kase


Bramka1 createMarker (-1742.5296630859,498.69064331055,38.445236206055,"cylinder",2,150,255,150,150)

function markerAlert(markerHit,matchingDimension)
    if (matchingDimensionthen
        outputChatBox("You have just entered a marker.",source,255,255,0)
    end
end
addEventHandler("onPlayerMarkerHit",getRootElement(),markerAlert)
function takeCash thePlayercommandamount )
     takePlayerMoney thePlayertonumber(amount) )
addCommandHandler "takecash"takeCash )


Podpis
Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-01-19, 16:29


Fanciak

BOT






Wiek: 25
Na forum: 4446 dni
Posty: 728
Nick w MP: Fanciak

Piwa: 1572

Respekt: 500
Respekt: 500

Bramka1 createMarker (-1742.5296630859,498.69064331055,38.445236206055,"cylinder",2,150,255,150,150)

function markerAlert(markerHit,matchingDimension)
    if (matchingDimensionthen
      takePlayerMoney source500)
        outputChatBox("You have just entered a marker.",source,255,255,0)
    end
end
addEventHandler("onPlayerMarkerHit",getRootElement(),markerAlert)


Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-01-19, 16:56


Axmell

E-Commerce






Wiek: 24
Na forum: 3810 dni
Posty: 279
Nick w MP: %Axmell

Piwa: 224

Respekt: 50

Nie dzia?a :\

Podpis
Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-01-19, 17:00


Fanciak

BOT






Wiek: 25
Na forum: 4446 dni
Posty: 728
Nick w MP: Fanciak

Piwa: 1572

Respekt: 500
Respekt: 500

Oj sorry m?j b??d.

Bramka1 createMarker (-1742.5296630859,498.69064331055,38.445236206055,"cylinder",2,150,255,150,150)

function markerAlert(markerHit,matchingDimension)
    if (matchingDimensionthen
      takePlayerMoney source500)
        outputChatBox("You have just entered a marker.",source,255,255,0)
    end
end
addEventHandler("onPlayerMarkerHit",Bramka1,markerAlert)


Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-01-19, 17:06


Axmell

E-Commerce






Wiek: 24
Na forum: 3810 dni
Posty: 279
Nick w MP: %Axmell

Piwa: 224

Respekt: 50

Dalej nic , moze
      takePlayerMoney source500) -  tu gdzies thePlayer 

nwm wiec pytam ze moze cos tu.. :D

[ Dodano: 2016-01-19, 17:09 ]
A clienta trzeba?

Podpis
Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-01-19, 17:15


#404







Wiek: 26
Na forum: 4771 dni
Posty: 1438

Piwa: 2512

Respekt: 833,5
Respekt: 833,5Respekt: 833,5

Ostrzeżeń: 60%
Axmell, ?adne the player, source to gracz kt?ry wszed? w marker, spr?buj jeszcze takiej formy:


createMarker (-1742.5296630859,498.69064331055,38.445236206055,"cylinder",2,150,255,150,150)


addEventHandler("onPlayerMarkerHit"resourceRoot, function(marker,dimension)
if not dimension then return end
takePlayerMoney(source500)
outputChatBox("Akuku"source)
end
)


Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-01-19, 17:23


Axmell

E-Commerce






Wiek: 24
Na forum: 3810 dni
Posty: 279
Nick w MP: %Axmell

Piwa: 224

Respekt: 50

Nie dzia?a

[ Dodano: 2016-01-19, 17:54 ]
He?p :D

[ Dodano: 2016-01-19, 18:04 ]
no plz

[ Dodano: 2016-01-19, 18:24 ]
Pomo?e ktos?

Podpis
Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-01-19, 21:02


Pumelowsky

Amator 3D






Wiek: 23
Na forum: 4181 dni
Posty: 199
Nick w MP: Pumelowsky

Piwa: 1666

Respekt: 200,5
Respekt: 200,5Respekt: 200,5

Bramka1 createMarker (-1742.5296630859,498.69064331055,38.445236206055,"cylinder",2,150,255,150,150)

function markerAlert(source)
        takePlayerMoney source500 )
        outputChatBox("Pobrano oplate.",source,255,255,0)
end
addEventHandler("onMarkerHit",Bramka1,markerAlert)

powinno dzia?a?

Podpis
Kontakt:

- Skype: live:pumapl_2
- GG: 56865468
- Discord: Pumelowsky#1126
- PW forum
[/center]
Postaw piwo autorowi tego posta
 

 
Tagi: marker :: kasa
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » LUA » Marker i kasa 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