I developed this application to make life easier for scripters, because with it you can start the script directly with the checks that you want to run the script.
Example:
Result:
Downloads
Mediafire
Require : .net framework 3.5 ou superior
Example:
Result:
Code:
-- Script Name: test V1.0
-- Autor: xotservx
-- Using Script Check Generator (xotservx)
function onSay(cid, words, param, channel)
if getPlayerLevel(cid) < 20 then
return doPlayerSendCancel(cid, 'You need level 20')
end
if getPlayerVocation(cid) ~= 3 then
return doPlayerSendCancel(cid, 'His vocation to be ' .. getPlayerVocationName(3))
end
if getPlayerItemCount(cid, 2160) < 10 then
return doPlayerSendCancel(cid, 'You need 10 '.. getItemNameById(2160))
end
-- Start your script
return true
end
Downloads
Mediafire
Require : .net framework 3.5 ou superior
Attachments
-
ScriptChecksGenerator.rar1.1 MB · Views: 15 · VirusTotal
Last edited by a moderator: