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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,790
» Latest member: ehsanmootalaee
» Forum threads: 2,365
» Forum posts: 12,240

Full Statistics

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

Latest Threads
Broken voice
Forum: Support
Last Post: yunnnjunior
4 hours ago
» Replies: 0
» Views: 13
tjtru
Forum: Questions and Suggestions
Last Post: decwaf
10 hours ago
» Replies: 0
» Views: 18
jjtutrj
Forum: Pawn Scripting
Last Post: decwaf
10 hours ago
» Replies: 0
» Views: 18
hnrjttr
Forum: Releases
Last Post: decwaf
10 hours ago
» Replies: 0
» Views: 18
Recompiling for x86_64 or...
Forum: General Discussions
Last Post: anggafrengki0
11 hours ago
» Replies: 2
» Views: 84
My website is now up
Forum: Tech
Last Post: NoxxeR
Today, 12:59 AM
» Replies: 0
» Views: 42
United Gaming Life Rolepl...
Forum: Advertisements
Last Post: Cruncher
Yesterday, 09:14 PM
» Replies: 0
» Views: 19
LCSHosting.eu - Free SA-M...
Forum: Tech
Last Post: LCSLaces
Yesterday, 07:54 PM
» Replies: 1
» Views: 110
After School Roleplay - G...
Forum: Advertisements
Last Post: cosminupgaming
Yesterday, 06:16 PM
» Replies: 6
» Views: 460
Discord problem.
Forum: Support
Last Post: drwnrbbt
Yesterday, 04:52 AM
» Replies: 2
» Views: 48

 
  Not receiving damage when player fell onto the ground
Posted by: Sizy - 2024-05-01, 02:49 AM - Forum: Pawn Scripting - Replies (10)

I get this error


Code:
C:\Users\User\Desktop\rsrp\gamemodes\RSRP.pwn(1361) : warning 202: number of arguments does not match definition

C:\Users\User\Desktop\rsrp\gamemodes\RSRP.pwn(1378) : warning 213: tag mismatch




Code:
forward OnPlayerFall(playerid);
forward CalculateDamage(Float:fall_height);

public OnPlayerFall(playerid) {
    new Float:fall_height;
    GetPlayerDistanceFromPoint(playerid, 2.0, 2.0, 2.0, fall_height);

    new damage = CalculateDamage(fall_height);

    // Apply damage to the player
    SetPlayerHealth(playerid, GetPlayerHealth(playerid) - damage);

    // You can also send a message to the player informing them about the damage
    SendClientMessage(playerid, COLOR_RED, "You took damage from the fall!");
    return 1;
}

// Function to calculate damage based on fall height
public CalculateDamage(Float:fall_height) {
    if (fall_height <= 0.0) return 0;
    if (fall_height <= 2.0) return 5; // Minimum damage if fall height is less than or equal to 2 meters
    return (fall_height - 2.0) * 2 + 5; // Damage increases linearly with fall height beyond 2 meters
}



please help to fix


Exclamation Trunk open
Posted by: Kriso37 - 2024-04-27, 03:11 PM - Forum: Pawn Scripting - Replies (1)

[Image: snfJf4c.png]
How to open this trunk like this with code,
i tryed setvehicleparamsex but its half open


  someone crashing my server
Posted by: itayuss - 2024-04-26, 02:01 PM - Forum: Support - Replies (3)

hello im using samp 0.3.7
and someone is connecting to the server,
doing something and my server is down...
what can i do please????


  Is this a silly question...?
Posted by: KILLERDOG - 2024-04-26, 12:12 PM - Forum: Questions and Suggestions - No Replies

First off i would like to say a big hello to you guys and its great to see some old faces returning. I have a bit of a silly question here but i was wondering we have openMP but why oh why do we still need SAMP installed. I thought openMP was taking over from SAMP now that certain SAMP members/founders have decided to abandon the project. Will we ever just have and OpenMP installed and not have SAMP. Thanks for reading my post. Hope to see you guys and girls in game. :)


Exclamation San Fierro RP: Se buscan interesados en formar un servidor.
Posted by: Politoxicomano - 2024-04-25, 08:40 PM - Forum: Programaci?n - No Replies

Buenas a toda la comunidad de GTA San Andreas online que se mantiene viendo el foro a ratos, soy un antiguo jugador de SAMP/MTA y hace poco de open:mp, de hace ya bastantes años (2009-2018 aprox.) participé en comunidades ya extintas tales como GameZChile, GameRol, RolIberico, SpaceRol, UnPlayer, entre bastantes otros pequeños servidores los cuales recuerdo con bastante cariño, en algunas de las ya mencionadas como administrador, moderador, mapper, jefe de facciones varias, entre otras funciones. Dejé de jugar para centrarme en otros aspectos de mi vida personal en esos años como fueron los estudios y el ámbito laboral. Hoy, ya bastante mayor, me gustaría retomar este juego que tantos buenos momentos me ha traído, iniciando un pequeño proyecto de roleplay 

Seria en la ciudad de San Fierro con un nivel de rol intermedio, facciones dinámicas, economía minimalista, facciones clásicas, empresas y propiedades con mapeos personalizados, categorías por nivel de rol, y un sistema de TDM-RP. También se busca implementar un sistema VIP para saldar los principales gastos del servidor, sin embargo me gustaría que se interviniera lo menos posible la economía del juego, es decir, no se podría comprar dinero virtual o vehículos solo se venderían propiedades con mapeos exclusivos los cuales quedarían vinculados a la cuenta sin poder venderse/transferirse in-game, el sistema de VIP entregaría facilidades como x2 de reputación, mayor cantidad de slots para comprar vehículos o propiedades, acceso a zonas con mapeos exclusivos, items únicos, pequeño descuesto al % de impuestos, viajes gratuitos en transporte público, salida del hospital más rápida, entre otros.

Cuento con capital para iniciar el desarrollo, he estado y continúo mapeando la ciudad e interiores uno a uno con texture-studio, también cuento con un scripter con experiencia disponible para iniciar el desarrollo del servidor y un GM base RP en español. Estoy en busca de cualquier persona que pueda aportar con sus conocimientos en el desarrollo del servidor, por lo que hago un llamado a:

  • Scripters
  • Mappers
  • Diseñadores gráficos/web
  • Administradores y jugadores con amplio conocimiento de RP.
  • Personas que quieran ayudar de cualquier forma

Enviarme un mensaje con sus datos de contacto para conversar más al respecto, el proyecto está recién comenzando y tiene una proyección de largo desarrollo por lo que estaré pendiente a cualquier mensaje durante un buen tiempo. También pueden al discord: amaru2046


Un saludo a los que mantienen el GTA San Andreas vivo aún.


  [RP] Life in San Andreas
Posted by: Sauce - 2024-04-22, 02:39 PM - Forum: Advertisements - No Replies

[Image: 6R7GP9C.png]

Quote:
Recognizing the shortage of heavy roleplay spaces on SA-MP, we've taken the initiative to breathe new life into our project, incorporating numerous enhancements and striving to foster a vibrant community. Previously active in 2021 but operating in a different language, our community unfortunately fizzled out due to a lack of interest. This time, we've translated it into English. I'm excited to invite you to join Life in San Andreas, our project nearing completion with promising potential. I'd love to introduce you to some of the systems we've been working on (we unveil one each Saturday), offering you a glimpse of the innovative features we have in store.
Don't hesitate to let your roleplaying friends know about it!
We hope to see you as part of our community!
[Image: 2g8AFJp.png]


Tongue Looking for an English Developer
Posted by: znpo - 2024-04-18, 05:07 PM - Forum: General Discussions - Replies (2)

Hey there,

I am currently working on an english roleplay gamemode in Open.MP, and have a pretty solid setup so far going. I am looking to expand my operation and get my server rolling to the public, and I would love to get in touch with some more developers that are like-minded when it comes to producing something high quality.

This would be a long-term partnership, and split brand rights between both individuals. If you are interested feel free to shoot me a PM with your contact information (discord/telegram).

Thank you!


  Valakas Trucker [open.mp]
Posted by: eakwarp - 2024-04-16, 07:36 AM - Forum: Gamemodes - No Replies

Originally written by me in 2010. Trucker gamemode with moderate registration. MySQL, sscanf2, streamer.
Some updates for openmp, some new features.

https://github.com/eakwarp/valakas-trucker

At this time - only russian.
Test server on valakas.ru:7778


  Problems with y_commands and sscanf2
Posted by: lebby - 2024-04-13, 08:33 AM - Forum: Pawn Scripting - Replies (1)

Hey,

So I'm back to scripting after a lot of years, and I'm struggling with the basics. 
I'm using a SAMP 0.3.7 server.

I have 2 weird problems:

1) YSI - I tried downloading YSI (both 4.x and 5.x) - but whenever I include YSI_Visual\y_commands - the code just won't compile.

2) sscanf - I can't find the .dll file to download - I'm trying from the main github https://github.com/Y-Less/sscanf

Any help would be appreciated, thanks :)


Question Cant install SA-MP (FIXED)
Posted by: wurkt994 - 2024-04-07, 11:38 PM - Forum: Support - No Replies

Tried installing the mod, have the down-graded version but every time I choose where the game is located, the OK button is grayed out, copy and pasted where it was into the bar but the INSTALL button was grayed out, any idea how to fix this?

Fixed it, I downgraded incorrectly, https://github.com/MrNiceGuy420/GTA-SA-1...CD-Fix-exe this is the correct way