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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 6,686
» Latest member: novamuller
» Forum threads: 2,499
» Forum posts: 12,566

Full Statistics

Online Users
There are currently 208 online users.
» 0 Member(s) | 205 Guest(s)
Bing, Yandex, Google

Latest Threads
Scrap Gold Calculator: Th...
Forum: General Discussions
Last Post: novamuller
58 minutes ago
» Replies: 0
» Views: 3
Chipotle Burrito: Everyth...
Forum: General Discussions
Last Post: novamuller
1 hour ago
» Replies: 0
» Views: 4
Unban
Forum: Chat
Last Post: iAmir
Yesterday, 02:21 PM
» Replies: 5
» Views: 808
[Announcement] Spawn - An...
Forum: Tech
Last Post: iAmir
Yesterday, 12:22 AM
» Replies: 1
» Views: 256
Pedestrians
Forum: Plugins
Last Post: iAmir
Yesterday, 12:18 AM
» Replies: 1
» Views: 269
Silly little render a did...
Forum: Art
Last Post: iAmir
Yesterday, 12:07 AM
» Replies: 1
» Views: 1,269
Discord Server Unable to ...
Forum: Chat
Last Post: iAmir
Yesterday, 12:06 AM
» Replies: 1
» Views: 454
It has been a while
Forum: Chat
Last Post: iAmir
Yesterday, 12:04 AM
» Replies: 1
» Views: 461
GTA San Andreas - The mov...
Forum: Chat
Last Post: ricardofnl
2026-07-04, 11:26 PM
» Replies: 1
» Views: 555
Kalcor is still outta the...
Forum: Chat
Last Post: ricardofnl
2026-07-04, 11:14 PM
» Replies: 2
» Views: 294

 
  [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.


  Question about pawn compiler
Posted by: robertocaribbean - 2021-03-07, 08:06 PM - Forum: Pawn Scripting - Replies (5)

Hi there,



I want to use spanish words in my gamemode, but the compiler throws error when try to compile.



Code:
CMD:veh?culo(playerid, params[]) {



? SendClientMessage(playerid, -1, "test");



? return 1;

}

This throws an error: "Invalid function or declaration" in the line where "veh?culo" word is.







Also when I want to use SendClientMessage, there is no error at compiler level but the message look weird character, instead of the character I want.



Maybe the compiler doesn't support characters like " ? "?



Code:
CMD:test(playerid, params[]) {



? SendClientMessage(playerid, -1, "veh?culo");



? return 1;



}











[Image: rUHhU8b.png]