- 143
- 33
- Версия SA-MP
-
- 0.3.7 (R1)
- 0.3.7-R2
- 0.3.7-R3
Я ищу сценарий, я не знаю, существует ли он, но это хороший забавный сценарий, который персонализирует вашу GTA, который может разместить видео или изображение на большой доске. Я оставлю несколько изображений доски.
пожалуйста, друг
I'm looking for a script, I don't know if it exists but it is a good fun script that personalizes your GTA, that can put a video or image on the large board, I will leave some images of the board.
please friend
I try to create it but it doesn't work :(
Something similar to this: https://www.blast.hk/threads/217145/
Only that only works in Arizona, I tried it and I didn't understand anything, it didn't work
пожалуйста, друг
I'm looking for a script, I don't know if it exists but it is a good fun script that personalizes your GTA, that can put a video or image on the large board, I will leave some images of the board.
please friend
I try to create it but it doesn't work :(
test:
local videoFilePath = 'moonloader/resource/Video/test.mp4'
function main()
while sampGetGamestate() ~= 3 do wait(0) end
sampAddChatMessage("{8888EE}| {EEEEEE}Script loaded successfully. Playing test.mp4.", -1)
setVidAll()
wait(-1)
end
function setVidAll()
for i = 1, 80, 1 do
setVid(i)
end
end
function setVid(bildid)
lua_thread.create(function()
wait(400)
if not doesFileExist(videoFilePath) then
sampAddChatMessage("{8888EE}| {FF0000}Error: {EEEEEE}The file test.mp4 does not exist in the specified path.", -1)
return
end
bs = raknetNewBitStream()
raknetBitStreamWriteInt8(bs, 16)
raknetBitStreamWriteInt32(bs, bildid)
raknetBitStreamWriteInt32(bs, #videoFilePath)
raknetBitStreamWriteString(bs, videoFilePath)
raknetEmulPacketReceiveBitStream(220, bs)
raknetDeleteBitStream(bs)
end)
end
function doesFileExist(filePath)
local file = io.open(filePath, "r")
if file then
file:close()
return true
end
return false
end
Something similar to this: https://www.blast.hk/threads/217145/
Only that only works in Arizona, I tried it and I didn't understand anything, it didn't work
Последнее редактирование: