• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Problem Z sms shopem na stronie.

Drongu123

New Member
Joined
Feb 22, 2010
Messages
4
Reaction score
0
Witam, mam pewnien kłopot. :( Po wgraniu nowej skurki wszystko jest w porządku tylko sms shop nie mieści się na stronie. Można jakoś zmienić rozmiar?^_^
smileu.jpg
 
Code:
<table border="0" cellpadding="1" cellspacing="1" width="[B]540[/B]">
W shopsystem.php pozmieniaj to co napisałem ...
 
Pierdolcie sie nooby jebane

Jakieś kompleksy? W domu Cie biją czy jak?


Nie chce zakładać nowego tematu a mam takie głupie pytanie ponieważ wywołuje prostą (własną) funkcje poprzez addEvent

ogólnie funkcja wygląda tak

LUA:
function losowanie(cid)
	 szansa = math.random(1, 100)
		if szansa <= 40 then
			setPlayerStorageValue(cid, 4401, math.random(1, 10))
end
end

funkcja nie może zapisać storage ponieważ nie znajduje gracza jak mogę w miarę sensownie to poprawić?


SRY ŻE NIE NA TEMAT PISZĘ
 
Code:
function losowanie(cid)
	if(isPlayer(cid)) then
		if(math.random(1, 100) <= 40) then
			setPlayerStorageValue(cid, 4401, math.random(1, 10))
		end
	end
	return true
end

Mozliwe, ze gracz dal logout zanim sie wywolal event.
 
Code:
addEvent(losowanie, czas, cid)

@UP:
Shit, szybszy byles :D
 
No dobra nie działa :D dzięki wielkie błędu już nie wywala to z reszta sobie poradzę.
 
Back
Top