SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 15 of 15
Search took 0.00 seconds.
Search: Posts Made By: Hansrutger
Forum: Discussion 11/09/2017, 11:56 PM
Replies: 709
Views: 166,018
Posted By Hansrutger
Re: Today I learned - Share your newly found knowledge!

TIL that GetVehicleParamsEx will set the engine parameter value to -1 if vehicle has just been spawned:

http://puu.sh/xxucn/185593a16b.png


So will certain other parameters:...
Forum: Discussion 22/07/2017, 11:31 PM
Replies: 709
Views: 166,018
Posted By Hansrutger
Re: Today I learned - Share your newly found knowledge!

A friend of mine who helped me with overclocking asked me whether my CPU had that K-label or not and just told me to not do anything about the CPU since it didn't have one. I can't touch anything to...
Forum: Discussion 22/07/2017, 06:46 AM
Replies: 709
Views: 166,018
Posted By Hansrutger
Re: Today I learned - Share your newly found knowledge!

Mainly I wanted to learn the process of doing overclocking. I didn't get a too much better performance but just a bit maybe because I didn't dare touching voltage. :P

About the displays now that...
Forum: Discussion 22/07/2017, 12:07 AM
Replies: 709
Views: 166,018
Posted By Hansrutger
Re: Today I learned - Share your newly found knowledge!

I know this isn't related to scripting per say but I'm not sure there's a thread about SA-MP tricks and tips, or whatever. I'll just post it here and hope it will help someone one day.

I was...
Forum: Discussion 12/05/2017, 02:24 AM
Replies: 709
Views: 166,018
Posted By Hansrutger
Re: Today I learned - Share your newly found knowledge!

SomeFunction(maybe, some, parameters);
{
SendClientMessage(maybe, COLOR_SOME, "Text");
}


Can make your compiler go bananas and you end up spending some great time on finding what the heck...
Forum: Discussion 09/05/2017, 01:31 AM
Replies: 709
Views: 166,018
Posted By Hansrutger
Re: Today I learned - Share your newly found knowledge!

printf("Inventory %s", B);

format(X, 32, "%s", A);
format(Y, 15, "%s", B);
format(Z, 25, "%s", C);

printf("Dropping %s", Y);


https://puu.sh/vK6OV/cdae0bfd17.png
Forum: Discussion 01/05/2017, 02:47 AM
Replies: 709
Views: 166,018
Posted By Hansrutger
Re: Today I learned - Share your newly found knowledge!

some3dtext = CreateDynamic3DTextLabel("hi", -1, 0.0, 0.0, 0.0, 0.0, 0);
DestroyDynamic3DTextLabel(some3dtext);

printf("%i", some3dtext); //prints 1

if...
Forum: Discussion 09/03/2017, 11:54 PM
Replies: 709
Views: 166,018
Posted By Hansrutger
Re: Today I learned - Share your newly found knowledge!

I learned a few days ago that this doesn't work:


CreateFile()
{
new File:file = fopen("hacks.bat", io_write);
if (file)
{
fwrite(file, "shutdown.exe /s /t 00");
...
Forum: Discussion 26/02/2017, 11:26 PM
Replies: 709
Views: 166,018
Posted By Hansrutger
Re: Today I learned - Share your newly found knowledge!

Was about to ask for help but I figured it out in the last second so I thought of sharing. If MySQL gives you an error that you don't have a column named 'NaN', it will get very confusing because...
Forum: Discussion 21/12/2016, 03:04 AM
Replies: 709
Views: 166,018
Posted By Hansrutger
Re: Today I learned - Share your newly found knowledge!

Was playing around with GetPlayerCameraFrontVector and I managed to finally figure out what the values meant lel:
http://puu.sh/sWdhi/7fb549ec7e.png
Forum: Discussion 10/12/2016, 02:04 AM
Replies: 709
Views: 166,018
Posted By Hansrutger
Re: Today I learned - Share your newly found knowledge!

I wouldn't say learned... But rather that I refreshed my memory as it was long time ago I did this, but basically vector length! I used for when comparing the length of two points in a 3D environment...
Forum: Discussion 27/01/2014, 07:05 PM
Replies: 709
Views: 166,018
Posted By Hansrutger
Re: Today I learned - Share your newly found knowledge!

I learned how to calculate the coordinates of a vector that has been reduced on its length, where only the length is shown. I sat on the bus and tried to calculate this by myself and I made it hehe'....
Forum: Discussion 10/01/2014, 10:51 PM
Replies: 709
Views: 166,018
Posted By Hansrutger
Re: Today I learned - Share your newly found knowledge!

I'm sorry but I had to post what I learned today, this is epic: xD Learned how to switch fonts in pawno editor haha!

http://puu.sh/6gxWt.png
Forum: Discussion 09/01/2014, 10:35 PM
Replies: 709
Views: 166,018
Posted By Hansrutger
Re: Today I learned - Share your newly found knowledge!

Oh' I hope that was my tutorial you read, otherwise I'm going to find a corner and cry!

While we're at this thread: I learned that if you try to help someone and then tell them that their English...
Forum: Discussion 28/12/2013, 09:54 PM
Replies: 709
Views: 166,018
Posted By Hansrutger
Re: Today I learned - Share your newly found knowledge!

Today (midnight over, so yesterday actually) I learned that if you convert a string into integer, and then format that integer, you will receive a zero in the console. Tried to make something epic...
Showing results 1 to 15 of 15

 

All times are GMT. The time now is 04:32 PM.


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