Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,686
» Latest member: redaj6889
» Forum threads: 2,350
» Forum posts: 12,293

Full Statistics

Online Users
There are currently 282 online users.
» 0 Member(s) | 278 Guest(s)
Bing, Google, Baidu, DuckDuckGo

Latest Threads
Starting a RP Server
Forum: General Discussions
Last Post: JakeFalcone
11 hours ago
» Replies: 0
» Views: 21
Wanting to Start a RP Ser...
Forum: Chat
Last Post: JakeFalcone
11 hours ago
» Replies: 0
» Views: 21
Adding new vehicles and s...
Forum: Support
Last Post: HELLHOUND
Yesterday, 10:49 PM
» Replies: 3
» Views: 900
After School Community lo...
Forum: General Discussions
Last Post: cosminupgaming
Yesterday, 08:10 PM
» Replies: 0
» Views: 35
🌄Project: Country Side (B...
Forum: Advertisements
Last Post: DevonH
2025-11-08, 01:54 PM
» Replies: 2
» Views: 492
MiniGame [Dropper] SA-MP
Forum: Videos and Screenshots
Last Post: Crazy_ArKzX
2025-11-07, 12:20 PM
» Replies: 0
» Views: 50
Ultimate Roleplay!!
Forum: Advertisements
Last Post: URP_Wrzosek
2025-11-03, 09:43 AM
» Replies: 2
» Views: 140
samp openmp scripts
Forum: German/Deutsch
Last Post: pauli
2025-11-01, 01:21 AM
» Replies: 0
» Views: 104
YGG-Reborn
Forum: Advertisements
Last Post: Mw10
2025-10-31, 08:12 AM
» Replies: 0
» Views: 103
[GameMode] Brasil Vida Id...
Forum: Portuguese/Portugu?s
Last Post: Brasil Vida Ideal
2025-10-31, 01:12 AM
» Replies: 0
» Views: 95

 
Rainbow Add color gradient textdraws
Posted by: Radical - 2021-03-10, 05:07 PM - Forum: Questions and Suggestions - Replies (4)

As mentioned in the subtitle, adding this feature in Open.mp?to beautify Textdraws is very fantastic ??



https://wikipedia.org/wiki/Color_gradient

https://www.w3schools.com/colors/colors_gradient.asp

[Image: How-To-Design-a-Gradient-Logo-01-1024x611-1.png]


  [DA-RP: Dark Ages: Medieval Roleplay] Winter Update!
Posted by: Wolfgang - 2021-03-10, 04:49 PM - Forum: Videos and Screenshots - Replies (1)

"Audio Streaming"


Quote:
? A novel audio system was implemented to enrichen the ambientance and server's atmosphere

? In-game audio streams were severely limited because they couldn't support more than one audio playing simultaneously and there was no 3D spatialization based on player position.

? In this new system the player opens a webpage which automatically connects to the server through a socket; this possibilitates multiple overlapping audio streams with 3D responsiveness (i.e if a player gets closer to a sound source the audio gets increasingly louder).

? For those curious about the technicalities: it was made using the howler.JS API on the frontend and a websocket server on node.js, which is responsible to track and coordinate all sounds broadcasted in-game to each client.








"Look At"

[Video: https://www.youtube.com/watch?v=NV5NOvypqz0]



Quote:? Since the minimap is hidden and there are no player blips it makes it harder to locate points of interest; although this is softened with the new audio system, a "look at" framework was implemented to let characters know the general direction of a certain source of sound.



"Hunting"


Quote:? This system has left the experimental stage and was developed further; there was progress in adding classes of animals (aerial &?terrestrial).

? A per-animal loot system was implemented (different animals have a base loot preset with item type & drop probability).

? Projectiles can be used to hunt animals (once sheets are fully implemented hunting will follow WOD mechanics automatically).



  INI Help
Posted by: Fiame - 2021-03-10, 04:23 PM - Forum: Pawn Scripting - No Replies

Hello. Can You guys help me? I am tring to make command like top10. In that command it should be: Name: (player name) Kills: (player kills),

If someone can send me basic code i am going to be very gratefull. Thank you!


  Problem with object attached to vehicle ...
Posted by: DaZzY - 2021-03-10, 10:57 AM - Forum: Questions and Suggestions - Replies (1)

Driver see player flying when he touch an object attached to vehicle this problem can be solved in open.mp ?

[Image: n4bq.png]


  Install SAMP Voice
Posted by: annety - 2021-03-09, 01:41 PM - Forum: Support - Replies (5)

How to install the samp voice in my client?



I tried to put the files from sv_client.zip

https://github.com/CyberMor/sampvoice/re...v3.0-alpha



But my GTA starts to crash now every serrver i try to connect



- my gta have no mods

- i'm using samp 0.3.7


  SetObjectMaterial() weird
Posted by: gokuta - 2021-03-09, 10:31 AM - Forum: Pawn Scripting - Replies (8)

okay, I use this:?



Code:
new objectid = CreateObject(3174, 1345.0, -1400.0, 14.0, 0.0, 0.0, 0.0, 150.0);

SetObjectMaterial(objectid, 0, -1, "none", "none", 0xFFFFFFFF);



This line does almost nothing, it only removes vertex lightning. That's all. The problem is... draw distance suffers!!! I mean my object disappears quickly and abruptly at distance 150.0. First of all... no nice transitions, it disappears fast?and looks horrible.?Second of all... my personal draw distance settings are disregarded now.



Is it some undocumented?SetObjectMaterial flaw that cannot be fixed? How do I use?SetObjectMaterial without fucking up draw distance of my objects?


  Hooks Problem
Posted by: Kodokushi - 2021-03-08, 09:55 PM - Forum: Pawn Scripting - Replies (2)

Hi

I'm having a problem where a callback is not called in the modules (I'm using y_hooks). Using hooks with native callbacks this doesn't happen.



Code:
// GAMEMODE
forward OnPlayerChangeJob(playerid, pJob);
public OnPlayerChangeJob(playerid, pJob) {
}

OnPlayerChangeJob(playerid, pJob);

// MODULES
hook OnPlayerChangeJob(playerid, pJob) {
? ? SendClientMessage(playerid, -1, "CALLED!");
? ? return true;
}


Tongue MySQL Question
Posted by: kalEd - 2021-03-08, 02:34 PM - Forum: Pawn Scripting - Replies (4)

What is the most efficient and optimized method to save data in the database?



For example this?:

Code:
new gQuery[ 256?]; //at the beginning of the gamemode

//in a function=>

gQuery[ 0 ] = EOS;

mysql_format( handle, gQuery, sizeof gQuery, "INSERT INTO `logs` (`Player`, `IP`) VALUES ('%e', '%s')", getName( playerid ), getPlayerIp( playerid ) );

mysql_tquery( handle, gQuery, "", "" );



or this?:

Code:
new Query[ 90 ];

mysql_format( handle, Query, sizeof Query, "INSERT INTO `logs` (`Player`, `IP`) VALUES ('%e', '%s')", getName( playerid ), getPlayerIp( playerid ) );

mysql_tquery( handle, Query, "", "" );



What exactly does gQuery[0] = EOS; mean? What's the difference?


Question Script performance testing
Posted by: kalEd - 2021-03-08, 10:02 AM - Forum: Support - Replies (5)

How can I detect how fast a function is running using gettickcount??If anyone can give me an example, or if you know another method.


  samp-server-info-obtainer
Posted by: KyroKun - 2021-03-07, 11:32 PM - Forum: Libraries - Replies (3)

https://github.com/kyro95/samp-server-info-obtainer
??? samp-server-obtainer ? A simple library made in typescript for obtaining your samp server info

Example:

Code:
import sampServer from "./path";

async function doTest() {
    const test = await sampServer.retriveInfo({
        ip: "",
        port: 7777
    }, "i");
    
    console.log(test);
}

doTest();

// Prints out an object which contains the samp server info submitted.