SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 03/08/2019, 11:07 PM   #1
RarKiiNG
Little Clucker
 
Join Date: Nov 2017
Posts: 7
Reputation: 0
Default problem.

function command14(params)
lua_thread.create(function()
if params ~= nil then
wait(0)
sampAddChatMessage("Turn on",0xAF1E1E)
if string.find(sampGetChatString(99), 'test') then
sampsendchat(string.format("Hei"))
end
end
end)
end


How can i mae this function to work? i wanna make automat screnshot when he see "Test" in chat, or say something like "Hei"
RarKiiNG is offline   Reply With Quote
Old 08/08/2019, 05:44 AM   #2
N0FeaR
High-roller
 
N0FeaR's Avatar
 
Join Date: Nov 2011
Location: Sweden
Posts: 2,315
Reputation: 167
Default Re: problem.

Do still need help with this?
__________________
Here is my discord server https://discord.gg/ucVpDkJ
N0FeaR is offline   Reply With Quote
Old 10/08/2019, 01:09 AM   #3
RarKiiNG
Little Clucker
 
Join Date: Nov 2017
Posts: 7
Reputation: 0
Default Re: problem.

yep i need
RarKiiNG is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Password Hash Problem & MYSQL Saving Problem Faqahat Scripting Help 3 18/04/2016 11:54 AM
[SOLVED] 3 problem's! (1 problem still unsolved, but stopped solving.) Mechscape Help Archive 9 24/12/2009 08:47 PM


All times are GMT. The time now is 10:58 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.