function Refreshlist ( )
triggerServerEvent ( "getall", localPlayer )
end
addEventHandler ( "onClientGUIClick", resourceRoot, function ( )
if ( source == GUIEditor.button[60] ) then
Refreshlist ( )
end
end )
i don't know from what .. but try this :
outputChatBox("#FF0000You need #FFFFFF 50000$ #FF0000 in order to buy a vehicle!",thePlayer)
and tell me what you got
test this and tell me if u see this msg in chat
addEvent("toggleDrawing", true)
addEventHandler('toggleDrawing', root,
function(bo)
if bo == true then
outputChatBox ( "bo val is true" )
end
end )