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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 6,506
» Latest member: nohuvin
» Forum threads: 2,233
» Forum posts: 12,033

Full Statistics

Online Users
There are currently 438 online users.
» 0 Member(s) | 436 Guest(s)
Bing, Google

Latest Threads
Command does not work in-...
Forum: Pawn Scripting
Last Post: PANZEHIR_
Yesterday, 06:36 PM
» Replies: 0
» Views: 30
White Screen
Forum: Support
Last Post: Phat202146_real
2024-11-21, 02:50 PM
» Replies: 0
» Views: 31
I get error 021 using y_h...
Forum: Pawn Scripting
Last Post: daniscript18
2024-11-18, 11:34 PM
» Replies: 0
» Views: 50
Il reste des français sur...
Forum: French/Fran?ais
Last Post: tysanio
2024-11-18, 05:39 AM
» Replies: 2
» Views: 453
Object creation issues
Forum: Programming
Last Post: K1271
2024-11-15, 11:51 PM
» Replies: 0
» Views: 49
Is the SAMP Hosting the s...
Forum: General Discussions
Last Post: OperaGX
2024-11-14, 09:33 PM
» Replies: 0
» Views: 66
Run time error 19: "File ...
Forum: Pawn Scripting
Last Post: Rexey
2024-11-14, 03:50 AM
» Replies: 0
» Views: 59
How to Compile Your Gamem...
Forum: Tutorials
Last Post: thelante
2024-11-13, 08:50 AM
» Replies: 3
» Views: 456
Modeller wanted
Forum: Development Updates
Last Post: acc.gangbeni
2024-11-11, 05:10 PM
» Replies: 9
» Views: 16,462
SA:MP forum offline
Forum: Portuguese/Portugu?s
Last Post: weslley_script
2024-11-09, 05:27 PM
» Replies: 7
» Views: 9,904

 
  Please help me out with a basic job.
Posted by: x3nt1s - 2024-05-03, 07:19 AM - Forum: Pawn Scripting - Replies (3)

Hey guys I know this is dumb but it's just for training myself I just need some help with a basic job I wanna make since I've been struggling to make even simple things as that. If the player enters any Combine Harvester they get a mark on the map for Checkpoint 1 then when they go through it they gotta go through the next 3 checkpoints and by the end they get $50. They could repeat it over and over to get the money.

The XYZ coordinates are:
21.3124,62.0883,3.1172 = Checkpoint 1
13.2968,37.2150,3.1172 = Checkpoint 2
64.9920,-32.5298,0.7534 = Checkpoint 3
72.8307,19.9228,0.6094 = Checkpoint 4

Thanks in advance.


  Convoy Trucking
Posted by: pasztor.mark456 - 2024-05-02, 11:59 PM - Forum: Advertisements - No Replies

Hey, if u wanna be a trucker, come to Convoy Trucking: IP: server.convoytrucking.net:7777


Question How can I resolve this?
Posted by: JR_Junior - 2024-05-01, 09:17 PM - Forum: Pawn Scripting - Replies (1)

Hello, I'm trying to create a function with several parameters in string format, but I don't know how to do it, as it's returning the following error:

Code:
error 067: variable cannot be both a reference and an array (variable "string1")

PHP Code:
new string1[15],string2[15];
stock MyFunction(&string1[15],&string2[15])
{
//Some code
string1 ="Hello";
string2 ="Hello 2";


FIXED!

Just removed the &


  Reverse Roleplay
Posted by: Sizy - 2024-05-01, 02:50 AM - Forum: Advertisements - No Replies

hello im new


  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: Programming - 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.


  United States Roleplay [Launching] [SA-RP]
Posted by: kayla - 2024-04-22, 11:24 PM - Forum: Advertisements - No Replies

Thanks to you all for your patience - now that interest has once again started to pick up, we can announce that US:RP will relaunch at 6.30pm BST, this Saturday (27th of April).

To see the current time in BST, use this link (https://www.utctime.net/bst-time-now). I'll also create a Discord time which should be timezone-accurate:


The server is pretty much ready, however we know from experience that launching a server - with not enough interest to generate a player base - does not work. As per my above announcement, referrals are back up and running, and we'll be rewarding those who bring back as many old and new players as possible.

We didn't think we'd get the chance to attempt this again, but recent circumstances have thrown the opportunity in our lap. We really hope we get to experience what we experienced in 2019/20, with a successful relaunch that lasts for months. However, even if this is not the case, we hope we can create a short spell of nostalgia and fun with a community that has survived for years, even outside of SAMP.

Server: 178.79.149.124:7777
Join our Discord: https://discord.com/invite/89FXdjv7JX
Check out our forums: https://us-rp.com/