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

Wysłany: 2013-09-16, 15:19


Seba0







Wiek: 37
Na forum: 4654 dni
Posty: 10

Piwa: 12

Respekt: 50

Ostrzeżeń: 20%
Mam problem z panelem tff ot?? ma kilka b??d?w mog? by mi ktos pomuc?

http://www24.speedyshare....16-01-32-12.png

Kod:

6455 function getPlayerDataRam(player, key)
6456 local serial = getPlayerSerial(player)
6457 if(statsDataBase[serial])then
6458 return statsDataBase[serial][tostring(key)]
6459 end
6460 return nil
6461 end


Postaw piwo autorowi tego posta
 

 
Wysłany: 2013-09-16, 15:58


vipSEBOvip

A poor begginer






Wiek: 26
Na forum: 5178 dni
Posty: 597
Nick w MP: xSebaPL

Piwa: 77

Respekt: 140
Respekt: 140

Argument gracza nie jest poprawny

Postaw piwo autorowi tego posta
 

 
Wysłany: 2013-09-16, 18:13


Seba0







Wiek: 37
Na forum: 4654 dni
Posty: 10

Piwa: 12

Respekt: 50

Ostrzeżeń: 20%
mozesz mi poprawic ten kod?

Postaw piwo autorowi tego posta
 

 
Wysłany: 2013-09-16, 19:15


vipSEBOvip

A poor begginer






Wiek: 26
Na forum: 5178 dni
Posty: 597
Nick w MP: xSebaPL

Piwa: 77

Respekt: 140
Respekt: 140

Podaj mi kod, gdzie u?ywasz tej funkcji:
getPlayerDataRam


Postaw piwo autorowi tego posta
 

 
Wysłany: 2013-09-17, 15:18


Seba0







Wiek: 37
Na forum: 4654 dni
Posty: 10

Piwa: 12

Respekt: 50

Ostrzeżeń: 20%
Nie wiem czy o to chodzi ;P
Kod:


playerPoint = getPlayerDataRam(thePlayer, "pointsRam")
playerCash = getPlayerDataRam(thePlayer, "cash")
unlockedAchievements = getPlayerDataRam(thePlayer, "unlockedAchievements")
totalTimesJoined = getPlayerDataRam(thePlayer, "totalTimesJoined")
mapsWon = getPlayerDataRam(thePlayer, "mapsWon")
mapsPlayed = getPlayerDataRam(thePlayer, "mapsPlayed")
totalHunters = getPlayerDataRam(thePlayer, "totalHunters")
totalToptimes = getPlayerDataRam(thePlayer, "totalToptimes")
totalMoneyEarned = getPlayerDataRam(thePlayer, "totalMoneyEarned")
totalMoneySent = getPlayerDataRam(thePlayer, "totalMoneySent")
totalBets = getPlayerDataRam(thePlayer, "totalBets")
totalBetsEarned = getPlayerDataRam(thePlayer, "totalBetsEarned")
totalBetsWon = getPlayerDataRam(thePlayer, "totalBetsWon")
totalDeaths = getPlayerDataRam(thePlayer, "totalDeaths")
totalPlayingTimeMinutes = getPlayerDataRam(thePlayer, "totalPlayingTimeMinutes")
totalPlayingTimeHours = getPlayerDataRam(thePlayer, "totalPlayingTimeHours")


Ostatnio zmieniony przez Seba0 2013-09-17, 15:24, w całości zmieniany 2 razy  
Postaw piwo autorowi tego posta
 

 
Wysłany: 2013-09-17, 15:21


vipSEBOvip

A poor begginer






Wiek: 26
Na forum: 5178 dni
Posty: 597
Nick w MP: xSebaPL

Piwa: 77

Respekt: 140
Respekt: 140

2 sprawy:
1. Czym jest zmienna thePlayer w tym:
playerPoint getPlayerDataRam(thePlayer"pointsRam")


2. Wystarczy?o by jedno ;)

Postaw piwo autorowi tego posta
 

 
Wysłany: 2013-09-17, 15:25


Seba0







Wiek: 37
Na forum: 4654 dni
Posty: 10

Piwa: 12

Respekt: 50

Ostrzeżeń: 20%
Moze jednak ja bym ci dal panel ?? :D

Postaw piwo autorowi tego posta
 

 
Tagi: paneltff
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






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