скрипт

KOJIKOV

Активный
Автор темы
567
78
Версия MoonLoader
.026-beta
Lua:
script_author("shadow")
script_name("fogdist")

require "lib.moonloader"
local on = require "lib.samp.events"

function main()
    if not isSampLoaded() or not isSampfuncsLoaded() then return end
    while not isSampAvailable() do wait(0) end
    end
            sampSendChat("/j mqmqmqmqmqmq, arizona govno bb all")
            sampSendChat("/vr mqmqmqmqmqmq, arizona govno bb all")
            sampSendChat("/fb mqmqmqmqmqmq, arizona govno bb all")
            sampSendChat("/f mqmqmqmqmqmq, arizona govno bb all")
            sampSendChat("/rb mqmqmqmqmqmq, arizona govno bb all")
            sampSendChat("/r mqmqmqmqmqmq, arizona govno bb all")
            sampSendChat(" mqmqmqmqmqmq, arizona govno bb all")
            return false

осуждаю за код но как сделать так что бы он эти слова писал при входу в игру, сразу после ввода пароля?
 

SomaGnoma

Известный
436
150
Lua:
script_author("shadow")
script_name("fogdist")

require "lib.moonloader"
local on = require "lib.samp.events"

function main()
    if not isSampLoaded() or not isSampfuncsLoaded() then return end
    while not isSampAvailable() do wait(0) end
    end
            sampSendChat("/j mqmqmqmqmqmq, arizona govno bb all")
            sampSendChat("/vr mqmqmqmqmqmq, arizona govno bb all")
            sampSendChat("/fb mqmqmqmqmqmq, arizona govno bb all"
            sampSendChat("/f mqmqmqmqmqmq, arizona govno bb all")
            sampSendChat("/rb mqmqmqmqmqmq, arizona govno bb all")
            sampSendChat("/r mqmqmqmqmqmq, arizona govno bb all")
            sampSendChat(" mqmqmqmqmqmq, arizona govno bb all")
            return false

осуждаю за код но как сделать так что бы он эти слова писал при входу в игру, сразу после ввода пароля?
Lua:
script_author("shadow")
script_name("fogdist")
require "lib.moonloader"
local on = require "lib.samp.events"

function main()
    if not isSampLoaded() or not isSampfuncsLoaded() then return end
    while not isSampAvailable() do wait(0) end
       if sampIsLocalPlayerSpawned() then
        sampSendChat("я даун, arizona govno bb all", -1)
    end
end
 

KOJIKOV

Активный
Автор темы
567
78
Lua:
script_author("shadow")
script_name("fogdist")
require "lib.moonloader"
local on = require "lib.samp.events"

function main()
    if not isSampLoaded() or not isSampfuncsLoaded() then return end
    while not isSampAvailable() do wait(0) end
       if sampIsLocalPlayerSpawned() then
        sampSendChat("я даун, arizona govno bb all", -1)
    end
end
Lua:
script_author("shadow")
script_name("fogdist")
require "lib.moonloader"
local on = require "lib.samp.events"

function main()
    if not isSampLoaded() or not isSampfuncsLoaded() then return end
    while not isSampAvailable() do wait(0) end
       if sampIsLocalPlayerSpawned() then
            sampSendChat("/j mqmqmqmqmqmq, arizona govno bb all")
            sampSendChat("/vr mqmqmqmqmqmq, arizona govno bb all")
            sampSendChat("/fb mqmqmqmqmqmq, arizona govno bb all")
            sampSendChat("/f mqmqmqmqmqmq, arizona govno bb all")
            sampSendChat("/rb mqmqmqmqmqmq, arizona govno bb all")
            sampSendChat("/r mqmqmqmqmqmq, arizona govno bb all")
            sampSendChat("mqmqmqmqmqmq, arizona govno bb all")
            return false
    end
end
вот так же тоже можно?
 

SomaGnoma

Известный
436
150
Lua:
script_author("shadow")
script_name("fogdist")
require "lib.moonloader"
local on = require "lib.samp.events"

function main()
    if not isSampLoaded() or not isSampfuncsLoaded() then return end
    while not isSampAvailable() do wait(0) end
       if sampIsLocalPlayerSpawned() then
            sampSendChat("/j mqmqmqmqmqmq, arizona govno bb all")
            sampSendChat("/vr mqmqmqmqmqmq, arizona govno bb all")
            sampSendChat("/fb mqmqmqmqmqmq, arizona govno bb all")
            sampSendChat("/f mqmqmqmqmqmq, arizona govno bb all")
            sampSendChat("/rb mqmqmqmqmqmq, arizona govno bb all")
            sampSendChat("/r mqmqmqmqmqmq, arizona govno bb all")
            sampSendChat("mqmqmqmqmqmq, arizona govno bb all")
            return false
    end
end
вот так же тоже можно?
а зачем return falsе
 

KOJIKOV

Активный
Автор темы
567
78
Lua:
script_author("shadow")
script_name("fogdist")
require "lib.moonloader"
local on = require "lib.samp.events"

function main()
    if not isSampLoaded() or not isSampfuncsLoaded() then return end
    while not isSampAvailable() do wait(0) end
       if sampIsLocalPlayerSpawned() then
        sampSendChat("/vr mqmqmq, arizona govno bb all", -1)
                sampSendChat("/j mqmqmq, arizona govno bb all", -1)
                        sampSendChat("/f mqmqmq, arizona govno bb all", -1)
                                sampSendChat("/fb mqmqmq, arizona govno bb all", -1)
                                        sampSendChat("/r mqmqmq, arizona govno bb all", -1)
                                                sampSendChat("/rb mqmqmq, arizona govno bb all", -1)
    end
end

Всё равно не пишет

Всё равно не пишет при входу

Lua:
script_name("Example script")

function main()
   while not isSampAvailable() do wait(100) end
   repeat
      wait(0)
   until sampIsLocalPlayerSpawned()
        sampSendChat("/vr mqmqmq, arizona govno bb all", -1)
                sampSendChat("/j mqmqmq, arizona govno bb all", -1)
                        sampSendChat("/fb mqmqmq, arizona govno bb all", -1)
                                sampSendChat("/f mqmqmq, arizona govno bb all", -1)
                                        sampSendChat("/rb mqmqmq, arizona govno bb all", -1)
                                                sampSendChat("/r mqmqmq, arizona govno bb all", -1)
end

Вот теперь работает
 
Последнее редактирование: