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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,510
» Latest member: Adrianayng
» Forum threads: 2,417
» Forum posts: 12,370

Full Statistics

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

Latest Threads
MMOEXP Diablo 4 to keep y...
Forum: Pawn Scripting
Last Post: Adrianayng
2 hours ago
» Replies: 0
» Views: 6
MMOEXP POE explores the m...
Forum: Chat
Last Post: Adrianayng
2 hours ago
» Replies: 0
» Views: 5
MMOEXP Madden 26 is expec...
Forum: Questions and Suggestions
Last Post: Adrianayng
2 hours ago
» Replies: 0
» Views: 6
[HELP]How to Retrieve and...
Forum: Pawn Scripting
Last Post: Quall1955
Yesterday, 03:53 PM
» Replies: 2
» Views: 2,814
Adding new vehicles and s...
Forum: Programming
Last Post: __.A.__
Yesterday, 02:52 AM
» Replies: 2
» Views: 139
How to create a custom SA...
Forum: Tech
Last Post: HELLHOUND
Yesterday, 12:12 AM
» Replies: 1
» Views: 778
Silly little render a did...
Forum: Art
Last Post: HELLHOUND
2025-09-14, 09:00 PM
» Replies: 0
» Views: 69
HWID BAN
Forum: Questions and Suggestions
Last Post: HELLHOUND
2025-09-14, 08:44 PM
» Replies: 1
» Views: 893
Manual sorting of servers...
Forum: Questions and Suggestions
Last Post: HELLHOUND
2025-09-14, 08:35 PM
» Replies: 1
» Views: 710
San Fierro Cops And Robbe...
Forum: Advertisements
Last Post: Dr0pp
2025-09-13, 08:33 PM
» Replies: 0
» Views: 111

 
  SA-MP Server R3
Posted by: Hitler - 2021-03-24, 01:45 AM - Forum: Support - Replies (3)

Espa?ol:??C?mo puedo obtener la versi?n R3 en el servidor?



English:?How can I get the R3 version on the server?


  Server lag
Posted by: Hitler - 2021-03-24, 01:23 AM - Forum: Support - Replies (1)

Espa?ol:?Hola buenas, esto es solo dudas que tengo, sobre que era lo que ocasiona el lag en el servidor, anteriormente habia leido un post de forum samp sobre las razones del lag en el servidor, entre estas estaban:

- Mal uso de las celdas

- Plugins no actualizados

Esos recuerdo, alguien que me pueda decir m?s razones del lag en el servidor se lo agradecer?a





English:?Hello good, this is only doubts that I have, about what was causing the lag in the server, I had previously read a post on forum samp about the reasons for the lag in the server, among these were:

- Misuse of cells

- Plugins not updated

Those memories, someone who can tell me more reasons for the lag in the server would appreciate it


  GetPlayerCameraAspectRatio
Posted by: robertocaribbean - 2021-03-23, 09:37 PM - Forum: Pawn Scripting - Replies (2)

Hello everyone.

I have read in the open.mp documentation about this function, and if I understand correctly it can only return three values:

Widescreen ON: Should be 1.7764707 but I get 1.000000.
Widescreen OFF: Should be 1.3333334 but I get 1.000000.
5:4 when the LETTERBOX mode is ON: 1.2470589. I don't know how to test this.

Is there something I'm not understanding or is the wiki wrong?

Here is the code:

PHP Code:
public OnPlayerConnect(playerid) {
? ? new 
Float:pAspectRatio;
? ? 
pAspectRatio GetPlayerCameraAspectRatio(playerid);

? ? new 
str[80];
? ? 
format(strsizeof(str), "Your aspect ratio is: %f"pAspectRatio);
? ? print(
str);


  [Solved] GetAnimationName() is not working properly
Posted by: Radical - 2021-03-23, 08:43 PM - Forum: Pawn Scripting - Replies (2)

SOLUTION:

Store that animation lib and name in a variable.

e.g. :

Code:
new rAnimLib[MAX_PLAYERS][20];

new rAnimName[MAX_PLAYERS][20];



COMMAND:anim(playerid, params[]) {

? ? ApplyAnimation(playerid, "PED", "IDLE_STANCE", 4.1, 0, 0, 0, 0, 0);

? ? rAnimLib[playerid] = "PED";

? ??rAnimName[playerid] = "IDLE_STANCE";

? ? return 1;

}



GetAnimationNameEx(playerid, Lib[20], Name[20])

{

? ? Lib = rAnimLib[playerid];

? ? Name = rAnimName[playerid];

}

//use this method instead of GetAnimationName.





I use GetAnimationName() function but it only returns PED, IDLE_STANCE or PED,SEAT_IDLE or PED,WOMAN_IDLESTANCE.



When i apply another animations like /eat, /sit, /lay

this function not give me the applied animation animlib and animname but just return PED, IDLE_STANCE.



PHP Code:
ApplyAnimation(playerid,"BEACH","Lay_Bac_Loop",4.1011111); // Sit

ApplyAnimation(playerid,"BEACH""bather",4.1011111); // Lay down



CMD:anim(playerid) {

? ? if(
GetPlayerAnimationIndex(playerid))

{

? ? new 
animlib[32];

? ? new 
animname[32];

? ? new 
msg[128];? ? 

? ? 
GetAnimationName(GetPlayerAnimationIndex(playerid),animlib,32,animname,32);

? ? 
format(msg128"Running anim: %s %s"animlibanimname);

? ? 
SendClientMessage(playerid, -1msg); // output is: PED IDLE_STANCE

}

? ? return 
1;





In other gamemodes that I test, this problem does not occur.



I need to fix this problem quickly.

thanks for the anyone answer.


  [FIXED] can't run many timers, that are not working with backtrace notification.
Posted by: PutuSuhartawan - 2021-03-23, 03:59 PM - Forum: Pawn Scripting - Replies (4)

Quote:Change to

SetTimerEx("PublicOwned", 1000, true, "i", playerid);





sorry, I am confused about the mistake where when I install a lot of timer functions it can't work. I also can't run the isvalidtimer function because that include is empty. is there a way to install the correct include timerfix?



Quote:Does not work if it repeats:

SetTimer ("TimeServer", 500, true);

SetTimer ("Change_Color", 5000, true);

will run if one call:

SetTimer ("UnFreezeMe", 3000.0);


  Whitelist System
Posted by: Genon_May - 2021-03-23, 08:42 AM - Forum: General Discussions - Replies (3)

Hey, im wondering does anyone know where i can find a whitelist system for samp. There used to be a few on the samp forums but cant reach them right now since they are down. If anyone knows where i can find one (english version) i would be very grateful


Question Which one is better, MYSQL or Y_INI? Why?
Posted by: Areshk - 2021-03-23, 03:36 AM - Forum: General Discussions - Replies (1)

I'm developing my own gamemode for samp but some people tell me that Mysql is better and I should use it.



I don't know if they are right or I should continue using Y_INI.



What do you recommend? :(


  A tool/program for finding unmatched brackets?
Posted by: Fawkes - 2021-03-22, 06:10 PM - Forum: Pawn Scripting - Replies (4)

I'm trying to optimize a script i made a few years ago and seperate it into libraries, i'm re-compiling it after every couple of changes to try and make it as easy as possible to identify errors and mistakes as i go along.

At the moment it won't compile (using pawno) unless i scroll to the bottom of the script first and compile from there (no errors or warnings if i don't scroll to the bottom first, it just doesn't create a working AMX unless i scroll to the bottom before compiling), i've checked the brackets with ctrl F and i've got 3 unmatched brackets (from years ago) which i remember used to cause the same problem in the past.

Does anyone know of any online web programs or software to highlight where unmatched bracket openings/closings begin/end without having to disect the whole script piece-by-piece to narrow down the lines manually?

I've tried searching for something to do this but they just give a long list of errors/warnings unrelated to brackets because they're intended for non-pwn.

Any help or suggestions would be great.


  [FIXED] inputtext cant extract to integer variable just made number 0, strval
Posted by: PutuSuhartawan - 2021-03-22, 02:33 PM - Forum: Pawn Scripting - Replies (2)

Quote:extract?inputtext[20]?->?new?BidPrice;



Why the integer after extract the iputtext variable has found = 0?

How to extract inputtext variable?to integer actually?



FIXED

Inputtext is a string data type, you have to change it to an integer first. If you want to store it to a variable that has an integer type, use a function called strval. So strval (inputtext)

BidPrice = strval(inputtext);


  Military equipment
Posted by: Poljon - 2021-03-22, 09:13 AM - Forum: Questions and Suggestions - Replies (5)

Could you make some other equipment besides the tank, such as a Stryker for the army and new types of combat aircraft, turntables and armored vehicles?/