SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: Swedky
Forum: Discussion 22/11/2016, 01:31 AM
Replies: 709
Views: 165,897
Posted By Swedky
Respuesta: Today I learned - Share your newly found knowledge!

The point was that I didn't know that lol
Forum: Discussion 21/11/2016, 04:03 AM
Replies: 709
Views: 165,897
Posted By Swedky
Respuesta: Today I learned - Share your newly found knowledge!

Today I learned how to return the opposite value - I didn't know that PAWN implements maths rules.

new val = -23;
printf("%i", -(val) * 1);
Showing results 1 to 2 of 2

 

All times are GMT. The time now is 10:33 AM.


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