Witamy na GTAOnline Obecny czas to 2018-11-17, 06:20 Użytkowników: 76706
Strona główna | Użytkownicy | Grupy | Faq | Regulamin | Zaloguj
GTAONLINE.PL
Tematy otagowane jako: @bad
1. @Bad Argument
Wyswietla mi sie błąd z giveWeapon @bad Argument,

SERVER:

[lua]function weapon( player, weapon )
giveWeapon ( player, tonumber(bron), 100 )
takePlayerMoney ( player, 1000 )
end
addEvent ("weapon", true )
addEventHandler("weapon", getRootElement(), weapon)[/lua]

CLIENT:

[lua]local marker = createMarker( 124, 1081, 13, "cylinder", 2, 0, 255, 255, 30)
local player = getLocalPlayer()



GUIEditor = {
gridlist = {},
button = {},
edit = {}
}
okno = guiCreateGridList(521, 265, 516, 405, false)
guiSetAlpha(okno, 0.88)

edit = guiCreateEdit(356, 125, 86, 26, "", false, okno)
kup = guiCreateButton(309, 216, 179, 38, "KUP", false, okno)
GUIEditor.gridlist[2] = guiCreateGridList(25, 150, 147, 222, false, okno)
guiGridListAddColumn(GUIEditor.gridlist[2], "Bron", 0.4)
guiGridListAddColumn(GUIEditor.gridlist[2], "ID", 0.4)
for i = 1, 7 do
guiGridListAddRow(GUIEditor.gridlist[2])
end
guiGridListSetItemText(GUIEditor.gridlist[2], 0, 1, "Bazuka", false, false)
guiGridListSetItemText(GUIEditor.gridlist[2], 0, 2, "36", false, false)
guiGridListSetItemText(GUIEditor.gridlist[2], 1, 1, "Sniper", false, false)
guiGridListSetItemText(GUIEditor.gridlist[2], 1, 2, "34", false, false)
guiGridListSetItemText(GUIEditor.gr...




phpBB by Przemo modified by xXx 2003-2016

Template GTAONLINE created by gtaonline.pl



Strona wygenerowana w 0,04 sekundy. Zapytań do SQL: 10