hahahafuccoff
Member
- Joined
- Jun 6, 2018
- Messages
- 16
- Reaction score
- 0
Hello (again :iknowwhatyoudidthere: )
I wanted to create a cleo mod that will open a page in a browser but i am dumb as always and i failed :shy:
In google.html i have this:
I know that i am using wrong opcode [font=Monaco, Consolas, Courier, monospace]0A9A:[/font] but i really don't know another method to do that, that's why i created google.html
Any suggestions ?
I wanted to create a cleo mod that will open a page in a browser but i am dumb as always and i failed :shy:
Code:
{$CLEO}
0000: NOP
repeat
wait 0
until 0AFA: is_samp_available
0B34: samp register_client_command "google" to_label @google
while true
wait 0
end
:google
SAMP.IsCommandTyped(0@)
0A9A: 0@ = openfile "google.html" mode "r"
samp.CmdRet()
In google.html i have this:
Code:
<html>
<head>
<meta http-equiv="refresh" content="0; URL=https://www.google.com/">
<meta name="keywords" content="automatic redirection">
</head>
</html>
I know that i am using wrong opcode [font=Monaco, Consolas, Courier, monospace]0A9A:[/font] but i really don't know another method to do that, that's why i created google.html
Any suggestions ?