Hello, please help me with that in .lua:
function command5 (params)
if params ~ = nil then
sampSendChat ("/ f" .. "" .. sampGetPlayerNickname (params) .. "needs gun license.")
end
end
If i taste the command5 without id he say "/f (ID 0) needs gun license.", how i can when i taste without ID to add SYNTAX?
In cleo was like:
else
chatmsg "{FFFFFF}/command5 <id>"
Please help me