Edvincik said:[shcode=cpp]
//by springfield
0AA2: 0@ = "shell32.dll"
if 0AA4: 0@ = "ShellExecuteA" 0@
then
0AA7: 0@ push 6 pop 1 params 1 0 0 "shutdown.bat" 0 0 error_code 1@
if 1@ <= 32
then
printf "FAILURE: %d" 1000 1@
end
end
[/shcode]
ty and would be it possible to locate .bat file like in C:/Users/Documents etc. or it must be in gta folder?
Valiuks said:Edvincik said:[shcode=cpp]
//by springfield
0AA2: 0@ = "shell32.dll"
if 0AA4: 0@ = "ShellExecuteA" 0@
then
0AA7: 0@ push 6 pop 1 params 1 0 0 "shutdown.bat" 0 0 error_code 1@
if 1@ <= 32
then
printf "FAILURE: %d" 1000 1@
end
end
[/shcode]
ty and would be it possible to locate .bat file like in C:/Users/Documents etc. or it must be in gta folder?