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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,652
» Latest member: remus
» Forum threads: 2,346
» Forum posts: 12,287

Full Statistics

Online Users
There are currently 198 online users.
» 1 Member(s) | 194 Guest(s)
Bing, Google, Yandex, cosminupgaming

Latest Threads
Ultimate Roleplay!!
Forum: Advertisements
Last Post: URP_Wrzosek
10 hours ago
» Replies: 2
» Views: 51
samp openmp scripts
Forum: German/Deutsch
Last Post: pauli
2025-11-01, 01:21 AM
» Replies: 0
» Views: 50
YGG-Reborn
Forum: Advertisements
Last Post: Mw10
2025-10-31, 08:12 AM
» Replies: 0
» Views: 57
[GameMode] Brasil Vida Id...
Forum: Portuguese/Portugu?s
Last Post: Brasil Vida Ideal
2025-10-31, 01:12 AM
» Replies: 0
» Views: 46
Grand Gang War (GGW)
Forum: Advertisements
Last Post: coladaciren
2025-10-30, 10:00 AM
» Replies: 0
» Views: 48
undefined symbol
Forum: Portuguese/Portugu?s
Last Post: leobradoks
2025-10-25, 08:58 PM
» Replies: 1
» Views: 1,616
SA:MP Custom Character Li...
Forum: General Discussions
Last Post: Dilshad
2025-10-22, 04:15 PM
» Replies: 0
» Views: 98
Anyone got old rp scripts...
Forum: General Discussions
Last Post: Bilal
2025-10-21, 01:02 PM
» Replies: 5
» Views: 5,327
Anyone has the SARP Gamem...
Forum: Gamemodes
Last Post: Bilal
2025-10-21, 12:59 PM
» Replies: 0
» Views: 164
SARP Gamemode
Forum: Releases
Last Post: Bilal
2025-10-21, 12:58 PM
» Replies: 0
» Views: 103

 
  OCTOBER 2020 Frequently Asked Questions
Posted by: Potassium - 2020-10-11, 05:59 AM - Forum: Questions and Suggestions - Replies (22)

Hi o.mp/burger fam,



We're back with another round of FAQs, so ask us the questions you'd love to know the answers to!





Some members of the dev team will be getting together to?livestream?the answers (will update this post with a confirmed date/time for the stream) and then the video will be available to watch afterwards too.



Ask your questions in the replies below!



Please note: This is NOT a feature requests thread.


  Progress bar original from GTA
Posted by: JR_Junior - 2020-10-11, 03:13 AM - Forum: Questions and Suggestions - No Replies

A progress bar system like the original game bar would be great.?

Like the bars of life, armour, breath, etc.??

So we would not need to use a system based on textdraw that depends on the resolution of each player.


  Sorular
Posted by: JokerTR - 2020-10-10, 01:44 PM - Forum: Turkish - Replies (4)

Akliniza gelen her t?rl? soruyu, bu konu ?zerinden yazabilirsin. Kisa bir s?re sonra hepsi cevaplanarak, yeni bir konu olarak aktarilacaktir.


  [SA:MP] BUS DRIVER JOB
Posted by: Flint - 2020-10-10, 01:41 PM - Forum: Videos and Screenshots - Replies (6)

link: https://youtu.be/8bQTlU0poFs


  Problem with OnPlayerEditDynamicObject
Posted by: morem - 2020-10-10, 11:25 AM - Forum: Support - Replies (4)

Hey,

It does not call back anything.



Code:
public OnPlayerEditDynamicObject(playerid, objectid, response, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz)

{

printf("test");

}





After click on the save or cancel button, nothing happens.

Version :?*** Streamer Plugin v2.9.4 by Incognito loaded ***

Please help me about this ...


  ProgressBar2 on high resolution - [FIXED]
Posted by: JR_Junior - 2020-10-09, 03:41 AM - Forum: Pawn Scripting - Replies (1)

Hi.



I'm using the include https://github.com/Southclaws/progress2 and a small bug is happening.



I could create an issue post in the repository but it was archived by the owner.



On my old monitor the resolution was 1280x720 there was no problem.



My current monitor is 2560x1080 and the following bug is happening when the bar value is less than 5.5:

[Image: Screenshot-229.png]



Here is the function to return the current progress value:

PHP Code:
stock Float:_bar_percent(Float:xFloat:widthorheightFloat:maxFloat:valuedirection)

{

new 
Float:result;

switch(
direction)

{

case 
BAR_DIRECTION_RIGHT:

{

result = ((3.0)  (((((2.0)  widthorheight) - x) / max) * value));

}

case 
BAR_DIRECTION_LEFT:?

{

result = ((1.0) - (((((x  2.0) - widthorheight) - x) / max) * -value)) - 4.0;

}

case 
BAR_DIRECTION_UP:?

{

result = -((((((widthorheight 10.0) - 0.45) * 1.02) / max) * value)  0.55);

}

case 
BAR_DIRECTION_DOWN:?

{

result = ((((((widthorheight 10.0) - 0.45) * 1.02) / max) * value) - 0.55);

}

}

return 
result;





If I change the code
Code:
result = ((x - 3.0)  (((((x - 2.0)  widthorheight) - x) / max) * value));
to
Code:
result = (x  ((((x  widthorheight) - x) / max) * value));



Fix the problem but creates another:

[Image: Screenshot-228.png]







FIXED THE PROBLEM

I made several corrections in the include and managed to solve my problem.

[Image: Screenshot-236.png]



If anyone is interested I'm sharing:?https://github.com/Walter-Correa/progress2


  Problem with Foreach & INI
Posted by: MrAsR - 2020-10-09, 03:00 AM - Forum: Support - Replies (1)

How to fix this is ?



Code:
F:\TLOD\pawno\include\foreach.inc(196) : error 017: undefined symbol "_FOREACH_CUR_VERSION"

F:\TLOD\gamemodes\project.pwn(855) : error 017: undefined symbol "INI_ParseFile"

F:\TLOD\gamemodes\project.pwn(855) : warning 215: expression has no effect

F:\TLOD\gamemodes\project.pwn(855) : error 029: invalid expression, assumed zero

F:\TLOD\gamemodes\project.pwn(855) : error 017: undefined symbol "extra"

F:\TLOD\gamemodes\project.pwn(855) : fatal error 107: too many error messages on one line



Line 855 - 864

Code:
? ? ? ? INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);

? ? ? ? if(PlayerInfo[playerid][pBanned] == 1) return ShowBan(playerid);

? ? ? ? ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD,""COL_WHITE"Login",""COL_WHITE"Wellcome back "COL_RED"The Land Of Death\n"COL_WHITE"Please write password to login","Login","Quit");

? ? }

? ? else

? ? {

? ? ? ? ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COL_WHITE"Register",""COL_WHITE"Wellcome to "COL_RED"The Land of Death\n"COL_WHITE"Please register before player.","Register","Quit");

? ? }

return 1;

}


  Problem with FCNPC
Posted by: MrAsR - 2020-10-08, 03:17 PM - Forum: Support - No Replies

Compiler Output :

Code:
F:\server\pawno\include\FCNPC.inc(403) : error 001: expected token: "-identifier-", but found "("

F:\server\pawno\include\FCNPC.inc(444) : error 017: undefined symbol "Iter_Clear"

F:\server\pawno\include\FCNPC.inc(444) : warning 215: expression has no effect

F:\server\pawno\include\FCNPC.inc(444) : error 001: expected token: ";", but found ")"

F:\server\pawno\include\FCNPC.inc(444) : error 029: invalid expression, assumed zero

F:\server\pawno\include\FCNPC.inc(444) : fatal error 107: too many error messages on one line


  [FCNPC] Problem
Posted by: MrAsR - 2020-10-08, 03:03 PM - Forum: Pawn Scripting - Replies (2)

How to fix this error ?



Code:
F:\TLOD\pawno\include\FCNPC.inc(403) : error 001: expected token: "-identifier-", but found "("

F:\TLOD\pawno\include\FCNPC.inc(444) : error 017: undefined symbol "Iter_Clear"

F:\TLOD\pawno\include\FCNPC.inc(444) : warning 215: expression has no effect

F:\TLOD\pawno\include\FCNPC.inc(444) : error 001: expected token: ";", but found ")"

F:\TLOD\pawno\include\FCNPC.inc(444) : error 029: invalid expression, assumed zero

F:\TLOD\pawno\include\FCNPC.inc(444) : fatal error 107: too many error messages on one line


  player object attachment
Posted by: hellmatic - 2020-10-08, 12:08 PM - Forum: General Discussions - No Replies

hello all fello samp coders and players, i need help i am trying to find or have help code a player object attachment system that i can add to my newly freeroam game mode i'm doing but i can't use mselection, any help would be gratefully helpful, even dini but i want one that saves and loads when a player joins if possible
my system i'm using ysi i'd prefer that it works well but any will do but not sql or mysql

also slots preferred aswell for multiple objects thanks

hellmatic