Wysłany: 2013-09-16, 15:19
Seba0
Wiek: 37 Na forum: 4654 dni Posty: 10
Piwa : 12
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
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
Argument gracza nie jest poprawny
Wysłany: 2013-09-16, 18:13
Seba0
Wiek: 37 Na forum: 4654 dni Posty: 10
Piwa : 12
mozesz mi poprawic ten kod?
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
Podaj mi kod, gdzie u?ywasz tej funkcji:
Wysłany: 2013-09-17, 15:18
Seba0
Wiek: 37 Na forum: 4654 dni Posty: 10
Piwa : 12
Nie wiem czy o to chodzi
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
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
2 sprawy:
1. Czym jest zmienna thePlayer w tym:
playerPoint = getPlayerDataRam ( thePlayer , "pointsRam" )
2. Wystarczy?o by jedno
Wysłany: 2013-09-17, 15:25
Seba0
Wiek: 37 Na forum: 4654 dni Posty: 10
Piwa : 12
Moze jednak ja bym ci dal panel
Tagi: paneltff
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: