| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 8,102
» Latest member: frogfoot
» Forum threads: 2,445
» Forum posts: 12,464
Full Statistics
|
| Online Users |
There are currently 320 online users. » 0 Member(s) | 317 Guest(s) Bing, Google, Yandex
|
| Latest Threads |
Help me find a current ar...
Forum: Tech
Last Post: KOZYR
Yesterday, 03:53 PM
» Replies: 0
» Views: 39
|
Czy SA:MP RP jeszcze żyje...
Forum: Ogólne
Last Post: Sztakier
Yesterday, 09:11 AM
» Replies: 0
» Views: 43
|
Donald Trump wars every c...
Forum: Life
Last Post: NoxxeR
2026-04-23, 08:04 PM
» Replies: 0
» Views: 48
|
Grow Your Book with Influ...
Forum: General Discussions
Last Post: Bestsellerllc
2026-04-23, 05:25 PM
» Replies: 0
» Views: 41
|
sterhdf
Forum: Pawn Scripting
Last Post: wolvam
2026-04-23, 03:45 AM
» Replies: 0
» Views: 58
|
yytiktyi
Forum: Support
Last Post: wolvam
2026-04-23, 03:43 AM
» Replies: 0
» Views: 48
|
hrreyeru
Forum: Questions and Suggestions
Last Post: wolvam
2026-04-23, 03:42 AM
» Replies: 0
» Views: 69
|
Ajuda com salvamento nao ...
Forum: Portuguese/Português
Last Post: zGu1Zin_
2026-04-22, 10:05 PM
» Replies: 0
» Views: 55
|
PawnPro 3.0 — Extensão VS...
Forum: Portuguese/Português
Last Post: NullSablex
2026-04-19, 10:58 AM
» Replies: 0
» Views: 73
|
Harmony Maps
Forum: Maps
Last Post: Harmony
2026-04-19, 09:36 AM
» Replies: 0
» Views: 90
|
|
|
| Convert from Samp to OpenMP |
|
Posted by: JR_Junior - 2024-05-11, 11:18 PM - Forum: Questions and Suggestions
- Replies (2)
|
 |
Hello! It would be interesting if a developer or someone with more knowledge created a tutorial on how to convert your entire server to OpenMP.
We know that Samp is gone and is very outdated, but we also know that most of the existing servers were created for Samp and many are very large, which means that the work to convert would be tiring.
I don't know if this conversion can be done yet, I don't know if we should wait a little longer. I just believe there will come a time when we will all be forced to convert.
It would be great to have some instructions to start this process! Thanks!
|
|
|
|
| ban appeal for discord |
|
Posted by: xz.metallica - 2024-05-11, 03:58 PM - Forum: Chat
- No Replies
|
 |
apparently beckzy got a bit too personal and banned me off your discord without actually violating any of your rules or terms. not sure what imagine this creates for your staff members, but it’s really unprofessionally done by him as he can’t seem to control personal anger.
where do i post my unban?
|
|
|
|
| timestamp include - i need help |
|
Posted by: justcroatiansamper - 2024-05-10, 02:29 PM - Forum: Pawn Scripting
- Replies (1)
|
 |
Hello, how would it be best to implement timestamp include in this situation?
Code: stock CreateLog(FileName[], string[])[/color]
{
new logstring[256];
new hour, minute, second, day, month, year;
gettime(hour, minute, second);
getdate(day, month, year);
format(logstring, 256, "[%d.%d.%d - %d:%d:%d] %s\r\n", hour, minute, second, day, month, year, string);
new File:hFile;
hFile = fopen(FileName, io_append);
fwrite(hFile, logstring);
fclose(hFile);
return 1;
[color=#000000]}
Link of timestamp:
https://github.com/Agneese-Saini/SA-MP/b...estamp.inc
Thanks :)
|
|
|
|
| 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.
|
|
|
|
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 &
|
|
|
|
| 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
|
|
|
|
|