Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: monio
1. Panel logowania By Monio
Mam problem z spawnem zrobi?em tak

Kod:

function playerJoin( thePlayer )
spawnPlayer(thePlayer, -1511, 917, 8)
end
addEventHandler("onPlayerJoin", getRootElement(), playerLogin)
2. By Monio :P
Witajcie. Mam problem dotycz?cy sklepu z broni? :(


addEvent 
("Kastet"true)
addEventHandler ("Kastet"root,
function (
celcenathePlayer)
konto getPlayerAccount (cel)
local kasa getPlayerMoney(cel)
if 
getAccountData (konto"TYP1"then
giveWeapon
(cel1)
if 
kasa >= cena then
takePlayerMoney
(celcena)
else
exports.informacje:pokazInfo (thePlayer"info""Nie stac Cie!!")
end
end
end
)



chcia?bym doda? jeszcze jedno "else" poto aby sprawdza?o czy mam licencje na typ1 czy nie i nwm jak to zrobi? zabardzo