Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 7,501
» Latest member: ae888vnio
» Forum threads: 2,413
» Forum posts: 12,360
Full Statistics
|
Online Users |
There are currently 398 online users. » 0 Member(s) | 396 Guest(s) Bing, Google
|
Latest Threads |
San Fierro Cops And Robbe...
Forum: Advertisements
Last Post: Dr0pp
Yesterday, 08:33 PM
» Replies: 0
» Views: 44
|
Adding new vehicles and s...
Forum: Programming
Last Post: __.A.__
2025-09-12, 07:47 PM
» Replies: 0
» Views: 67
|
Zona América del Sur Free...
Forum: Advertisements
Last Post: kevinberriosflores
2025-09-12, 02:16 PM
» Replies: 1
» Views: 97
|
Busco copia de gamemode S...
Forum: Spanish/Espa?ol
Last Post: briancristaldo2021
2025-09-11, 11:14 AM
» Replies: 0
» Views: 84
|
[Tutorial] Registrando o ...
Forum: Portuguese/Portugu?s
Last Post: Crazy_ArKzX
2025-09-09, 08:36 PM
» Replies: 0
» Views: 224
|
San Andreas Police Pursui...
Forum: Advertisements
Last Post: BriBri
2025-09-08, 10:09 PM
» Replies: 1
» Views: 310
|
Problem with plugins load...
Forum: Support
Last Post: MrKacu13
2025-09-08, 07:15 PM
» Replies: 9
» Views: 397
|
Compilation error
Forum: Pawn Scripting
Last Post: MrKacu13
2025-09-07, 07:18 AM
» Replies: 6
» Views: 377
|
Need help, problem when i...
Forum: Programming
Last Post: nonickowned
2025-09-06, 06:21 PM
» Replies: 0
» Views: 161
|
Transfer server from SAMP...
Forum: Support
Last Post: MrKacu13
2025-09-06, 04:03 PM
» Replies: 1
» Views: 264
|
|
|
Any way to show custom models in class selection? |
Posted by: RoBy41 - 2021-03-10, 06:32 PM - Forum: Pawn Scripting
- No Replies
|
 |
So I added Sweet, Ryder and Big Smoke in a class selection for Grove Street Families. I decided to replace their models with their beta versions (mods), so I did that. But if I replace their ids in the AddPlayerClass (for example Sweet which is 271, with the id of the new model), when I go on the server, in the class selection Sweet shows up as CJ instead of the custom model.
As a temporary fix, I decided to add the vanilla skins (Sweet, Ryder, BS) in the class selection and make it switch the player's skin from Sweet to BETA Sweet upon spawning for example, but I want it to be visible in the class selection too.
So is there any way to fix this? I think most of you will tell me to use mSelection or something like that, but I think it's hard to remake the whole class selection or at least very time consuming.
|
|
|
[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!
|
|
|
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;
}
|
|
|
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?
|
|
|
|