Cześć! mam skrypt na notyfikacje, jednak żeby je przetestować starałem się lekko edytować kod i dopisać tak żeby notyfikacja się wyświetliła po napisaniu na chacie NP: /testnoti car lecz jedynie co to na chacie wyświetla mi się coś takiego: Otrzymane argumenty:
Użyj: /testnoti <typ> gdzie typ to: success/error/info/warning/lspd/pb/car
Co bym nie próbował nadal się nie chce wyświetlić notyfikacja i grafika więc postanowiłem napisać tutaj na dole przesyłam cały kod:
[code]c.notifications:
--[[
Author: R35 (DSC: R35#5507)
Permissions for use code have author and server Project San Andreas
All rights reserved!
]]
local notifications = {};
local screen = {guiGetScreenSize()};
local textures = {
['success'] = dxCreateTexture('files/success.png', 'argb', false, 'clamp'),
['error'] = dxCreateTexture('files/error.png', 'argb', false, 'clamp'),
['info'] = dxCreateTexture('files/info.png', 'argb', false, 'clamp'),
['warning'] = dxCreateTexture('files/warning.png', 'argb', false, 'clamp'),
['lspd'] = dxCreateTexture('files/lspd.png', 'argb', false, 'clamp'),
['pb'] = dxCreateTexture('files/pb.png', 'argb', false, 'clamp'),
['car'] = dxCreateTexture('files/car.png', 'argb', false, 'clamp'),
['door'] = dxCreateTexture('files/door.png', 'argb', false, 'clamp'),
['voice'] = dxCreateTexture('files/voice.png', 'argb', false, 'clamp'),
['postac'] = dxCreateTexture('files/postac.png', 'argb', false, 'cl... |