| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 307 online users. » 0 Member(s) | 304 Guest(s) Bing, Applebot, Google
|
| Latest Threads |
AntyCheat System [SA-MP/O...
Forum: Filterscripts
Last Post: Pevenaider
2026-01-27, 08:48 PM
» Replies: 11
» Views: 19,016
|
problema afisare dialog c...
Forum: Romanian/Rom?na
Last Post: rcst3phan
2026-01-27, 07:31 PM
» Replies: 0
» Views: 39
|
problem dialog clan membe...
Forum: Pawn Scripting
Last Post: rcst3phan
2026-01-27, 07:30 PM
» Replies: 0
» Views: 35
|
Verona Community opening
Forum: Advertisements
Last Post: pmemorex2016
2026-01-27, 07:01 AM
» Replies: 0
» Views: 36
|
Verona Community otvaranj...
Forum: Ex-Yu
Last Post: pmemorex2016
2026-01-27, 06:59 AM
» Replies: 0
» Views: 46
|
Animated Textdraws
Forum: Libraries
Last Post: Crazy_ArKzX
2026-01-26, 08:26 PM
» Replies: 0
» Views: 42
|
Textdraw Animada
Forum: Portuguese/Portugu?s
Last Post: Crazy_ArKzX
2026-01-26, 08:23 PM
» Replies: 0
» Views: 40
|
Textdraw Editor Mobile - ...
Forum: Portuguese/Portugu?s
Last Post: Crazy_ArKzX
2026-01-26, 08:21 PM
» Replies: 0
» Views: 22
|
Il reste des français sur...
Forum: French/Fran?ais
Last Post: Lionel62300
2026-01-26, 03:20 PM
» Replies: 3
» Views: 3,944
|
Redturbo's Team Death Mat...
Forum: Advertisements
Last Post: Bright
2026-01-25, 12:36 PM
» Replies: 0
» Views: 72
|
|
|
| Programming Language |
|
Posted by: inertia - 2019-04-14, 05:24 PM - Forum: Questions and Suggestions
- Replies (10)
|
 |
You guys should consider?the use of a more modern and up-to-date languange. Pawno is a great language thanks to its C syntax and features, but more freedom should be given in order to attract more people.
|
|
|
|
[SERVER-WEB]-[BUG] Reputation |
|
Posted by: Mugsy - 2019-04-14, 03:51 PM - Forum: Support
- Replies (9)
|
 |
Good community, I wanted to report that there is an error in the WEB service, you can not give reputation in the forum, or at least in my account that I already have more than 80 messages published, thank you and inform if it is a bug or a limitation.
- Google translator
|
|
|
|
| C?mo aprendieron Pawn? |
|
Posted by: G0NZ4L0 - 2019-04-14, 03:51 PM - Forum: Programaci?n
- Replies (27)
|
 |
Hola chicos, publiquen por ac? que fue los que les llevo a aprender Pawn y porque.
La m?a fue muy curiosa porque solamente lo aprend? por ayudar a un amigo porque ten?a problemas con un servidor (el cual yo administraba) y despu?s de eso me fui interesando m?s en el lenguaje y en crear cosas ?nicas.
|
|
|
|
| Welkom op het Nederlandse forum |
|
Posted by: dignity - 2019-04-14, 03:05 PM - Forum: Dutch/Nederlands
- Replies (3)
|
 |
Welkom in het Nederlandse gedeelte van het forum, al is dit forum?maar tijdelijk.
Iedereen die Nederlands spreekt is welkom! Zodra de offici?le open.mp forums openen zullen we onze sectie uiteraard migreren maar dit kan nog een tijdje duren.
Algemene Regels:
1. Gedraag je / don't be a dick. Shitposten en trollen is altijd leuk maar hou het tot een minimum.
2. Volg alle open.mp / burgershot.gg regels. Dit is vanzelfsprekend.
3. Deze sectie is er voor een reden. Hou nederlandstalige gesprekken a.u.b. in deze sectie.
4. Beperk politieke / religieuze onderwerpen a.u.b. Korte gesprekken zijn geen probleem maar grote discussies en gerelateerde threads wel.
Voor het moment is er nog niet echt veel structuur op het forum dus ik zou zeggen ga gwn lekker je gang maar probeer het spammen van threads te beperken.
|
|
|
|
| Simplex Noise - Noise Generation in PAWN |
|
Posted by: Crayder - 2019-04-14, 02:52 PM - Forum: Libraries
- Replies (1)
|
 |
Simplex Noise Generator!
____________________________________________________________________________________________________
Description:
This library basically adds a bunch of noise functions that you can use for various things.
So far I've converted the following functions from C to PAWN: Code: // Returns a 1D simplex noise
Float:noise1D(Float:x);
// Returns a 2D simplex noise
Float:noise2D(Float:x, Float:y);
// Returns a 3D simplex noise
Float:noise3D(Float:x, Float:y, Float:z);
// Returns a 4D simplex noise
Float:noise4D(Float:x, Float:y, Float:z, Float:w);
// Returns a 1D simplex ridged noise
Float:ridgedNoise1D(Float:x);
// Returns a 2D simplex ridged noise
Float:ridgedNoise2D(Float:x, Float:y);
// Returns a 3D simplex ridged noise
Float:ridgedNoise3D(Float:x, Float:y, Float:z);
// Returns a 4D simplex ridged noise
Float:ridgedNoise4D(Float:x, Float:y, Float:z, Float:w);
// Returns a 1D simplex noise with analytical derivative.
dnoise1D(Float:x, &Float:rx, &Float:ry)
// Returns a 2D simplex noise with analytical derivatives.
dnoise2D(Float:x, Float:y, &Float:rx, &Float:ry, &Float:rz)
// Returns a 3D simplex noise with analytical derivatives.
dnoise3D(Float:x, Float:y, Float:z, &Float:rx, &Float:ry, &Float:rz, &Float:rw)
// Returns a 2D simplex cellular/worley noise
Float:worleyNoise2D(Float:x, Float:y)
// Returns a 3D simplex cellular/worley noise
Float:worleyNoise3D(Float:x, Float:y, Float:z)
// Returns a 2D simplex smooth cellular/worley noise
Float:worleyNoise2D_F(Float:x, Float:y, Float:falloff)
// Returns a 3D simplex smooth cellular/worley noise
Float:worleyNoise3D_F(Float:x, Float:y, Float:z, Float:falloff)
![[Image: NoiseGallery.jpg]](https://github.com/Crayder/SimplexNoise/raw/master/NoiseGallery.jpg)
I used parts of this for my forest generator.?I generated multiple forests over a 3000 unit radius, so it covers all of SA. It has random clearings, camp areas, and rubbish areas. It also has various trees in their own areas (kind of like biomes), bushes, and rocks;
![[Image: plants.bmp]](https://github.com/Crayder/SimplexNoise/raw/master/plants.bmp)
____________________________________________________________________________________________________
Examples:
Code: main() {
? ? printf("noise1D: %f", noise1D(-45.1231));
? ? printf("noise2D: %f", noise2D(-45.1231, 10.9453));
? ? printf("noise3D: %f", noise3D(-45.1231, 10.9453, 32.3621));
? ? printf("noise4D: %f", noise4D(-45.1231, 10.9453, 32.3621, 100.6343));
? ??
? ? printf("ridgedNoise1D: %f", ridgedNoise1D(-45.1231));
? ? printf("ridgedNoise2D: %f", ridgedNoise2D(-45.1231, 10.9453));
? ? printf("ridgedNoise3D: %f", ridgedNoise3D(-45.1231, 10.9453, 32.3621));
? ? printf("ridgedNoise4D: %f", ridgedNoise4D(-45.1231, 10.9453, 32.3621, 100.6343));
? ??
? ? new Float:rx, Float:ry, Float:rz, Float:rw;
? ? dnoise1D(100.5, rx, ry);
? ? printf("dnoise1D: %f, %f", rx, ry);
? ? dnoise2D(110.53, -20.5, rx, ry, rz);
? ? printf("dnoise2D: %f, %f, %f", rx, ry, rz);
? ? dnoise3D(110.53, -20.85, 9.12, rx, ry, rz, rw);
? ? printf("dnoise3D: %f, %f, %f, %f", rx, ry, rz, rw);
? ??
? ? printf("worleyNoise2D: %f", worleyNoise2D(13.0, -34.1));
? ? printf("worleyNoise3D: %f", worleyNoise3D(13.52321, -34.1, -34.4));
? ? printf("worleyNoise2D_F: %f", worleyNoise2D_F(13.0, -34.1, 10.0));
? ? printf("worleyNoise3D_F: %f", worleyNoise3D_F(13.52321, -34.1, -34.4, 10.0));
}
Output:Quote:noise1D: 0.117055
noise2D: -0.613689
noise3D: 0.060025
noise4D: -0.237536
ridgedNoise1D: 0.882944
ridgedNoise2D: 0.386310
ridgedNoise3D: 0.939974
ridgedNoise4D: 0.762463
dnoise1D: -0.875976, 9.531250
dnoise2D: 0.325981, -2.015559, -1.042779
dnoise3D: -0.662052, 1.085515, 0.660695, 1.227718
worleyNoise2D: 0.640313
worleyNoise3D: 0.412964
worleyNoise2D_F: 0.238459
worleyNoise3D_F: 0.173266
____________________________________________________________________________________________________
Credits:
simongeilfus for the original library in C : https://github.com/simongeilfus/SimplexNoise
____________________________________________________________________________________________________?
Downloads:
https://github.com/Crayder/SimplexNoise
|
|
|
|
|