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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 6,516
» Latest member: MEMOREX
» Forum threads: 2,235
» Forum posts: 12,037

Full Statistics

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

Latest Threads
High-Precision Laser Weld...
Forum: General Discussions
Last Post: Young Harmoni
8 hours ago
» Replies: 0
» Views: 15
Interesting
Forum: Chat
Last Post: Gerty23461
11 hours ago
» Replies: 1
» Views: 24
I humor myself
Forum: Programming
Last Post: nami16504
Yesterday, 04:28 PM
» Replies: 5
» Views: 8,059
Command does not work in-...
Forum: Pawn Scripting
Last Post: PANZEHIR_
2024-11-23, 06:36 PM
» Replies: 0
» Views: 45
White Screen
Forum: Support
Last Post: Phat202146_real
2024-11-21, 02:50 PM
» Replies: 0
» Views: 44
I get error 021 using y_h...
Forum: Pawn Scripting
Last Post: daniscript18
2024-11-18, 11:34 PM
» Replies: 0
» Views: 62
Il reste des français sur...
Forum: French/Fran?ais
Last Post: tysanio
2024-11-18, 05:39 AM
» Replies: 2
» Views: 477
Object creation issues
Forum: Programming
Last Post: K1271
2024-11-15, 11:51 PM
» Replies: 0
» Views: 57
Is the SAMP Hosting the s...
Forum: General Discussions
Last Post: OperaGX
2024-11-14, 09:33 PM
» Replies: 0
» Views: 78
Run time error 19: "File ...
Forum: Pawn Scripting
Last Post: Rexey
2024-11-14, 03:50 AM
» Replies: 0
» Views: 65

 
  HELP! How fix crashdetect Run time error 13: "(reserved)"
Posted by: PutuSuhartawan - 2021-05-25, 01:35 AM - Forum: Pawn Scripting - Replies (1)

Code:
HELP! How fix crashdetect Run time error 13: "(reserved)"

Run time error 13: "(reserved)"

[debug] Run time error 13: "(reserved)"

[debug] AMX backtrace:

[debug] #0 00000008 in public cmd_addattachedobject () at :0

[debug]?[url=https://github.com/Zeex/samp-plugin-crashdetect/issues/1]#1[/url]?native CallLocalFunction () in samp-server.exe

[debug]?[url=https://github.com/Zeex/samp-plugin-crashdetect/issues/2]#2[/url]?00294290 in public FIXES_OnPlayerCommandText (3, 43497488) at E:\GAME\Server PutuSuhartawansamp03DL_svr_R1_win32\pawno\include\zcmd.inc:112

[debug]?[url=https://github.com/Zeex/samp-plugin-crashdetect/issues/3]#3[/url]?000076ec in public OnPlayerCommandText (playerid=3, cmdtext[]=@0297b810 "/addattachedobject 967") at E:\GAME\Server PutuSuhartawansamp03DL_svr_R1_win32\pawno\include\fixes.inc:7900

[debug] Run time error 13: "(reserved)"

[debug] AMX backtrace:

[debug] #0 00000008 in public cmd_addattachedobject () at :0

[debug]?[url=https://github.com/Zeex/samp-plugin-crashdetect/issues/1]#1[/url]?native CallLocalFunction () in samp-server.exe

[debug]?[url=https://github.com/Zeex/samp-plugin-crashdetect/issues/2]#2[/url]?00294290 in public FIXES_OnPlayerCommandText (3, 43497488) at E:\GAME\Server PutuSuhartawansamp03DL_svr_R1_win32\pawno\include\zcmd.inc:112

[debug]?[url=https://github.com/Zeex/samp-plugin-crashdetect/issues/3]#3[/url]?000076ec in public OnPlayerCommandText (playerid=3, cmdtext[]=@0297b810 "/addattachedobject 967") at E:\GAME\Server PutuSuhartawansamp03DL_svr_R1_win32\pawno\include\fixes.inc:7900



Code:
CMD:addattachedobject(playerid, params[])

{

new objectid;

if(sscanf(params, "i", objectid)) return SendClientMessage(playerid, COLOR_ERROR, ""COL_RED"USAGE: "COL_YELLOW"'/addattachedobject [objectid]'");

//extract params -> new objectid;

? new vid = GetClosestCar(playerid, INVALID_VEHICLE_ID);

? if (inEditingMode[playerid] == 0 && !IsPlayerInAnyVehicle(playerid) ) return SEM(playerid, "Need on editing mode and get in to vehicle sir.");? ?

? ? new Float:VehPos[3];

? ? GetVehiclePos( vid, VehPos[0], VehPos[1], VehPos[2]);

? ? //objectid = CreateDynamicObject(11701, VehPos[0], VehPos[1], VehPos[2], 0, 0, 0);

? ? if( IsValidDynamicObject( ExampleAttachedDynamic) )

? ? {

DestroyDynamicObject(ExampleAttachedDynamic);

SEM(playerid, "Sir Old object ExampleAttachedDynamic has been destroyed");

cmd_addattachedobject(playerid);

? ? }

? ? else

? ? {

SetPVarInt(playerid, "ObjectIDinVehicle", objectid);

ExampleAttachedDynamic = CreateDynamicObject(objectid, VehPos[0], VehPos[1], VehPos[2] , 0, 0, 0);

Streamer_Update(playerid);

inEditingMode[playerid] = 1;

EditDynamicObject(playerid, ExampleAttachedDynamic);



return SEM(playerid, "Sir you are now in editing Dynamic Object mode.");

? ? }

? return 1;

}





issues:

https://github.com/Zeex/samp-plugin-cras.../issues/96


  HELP! How to use #emit and while? Basic to do with the function?
Posted by: PutuSuhartawan - 2021-05-24, 11:03 PM - Forum: Pawn Scripting - Replies (2)

Code:
stock SendClientMessageEx(playerid, color, const text[], {Float, _}:...)

{

? static

? ? ? args,

? ? ? str[144];



? /*

? ? *? Custom function that uses #emit to format variables into a string.

? ? *? This code is very fragile; touching any code here will cause crashing!

? */

? if ((args = numargs()) == 3)

? {

? ? ? SendClientMessage(playerid, color, text);

? }

? else

? {

? ? while (--args >= 3)

? ? {

? ? ? #emit LCTRL 5

? ? ? #emit LOAD.alt args

? ? ? #emit SHL.C.alt 2

? ? ? #emit ADD.C 12

? ? ? #emit ADD

? ? ? #emit LOAD.I

? ? ? #emit PUSH.pri

? ? }

? ? #emit PUSH.S text

? ? #emit PUSH.C 144

? ? #emit PUSH.C str

? ? #emit PUSH.S 8

? ? #emit SYSREQ.C format

? ? #emit LCTRL 5

? ? #emit SCTRL 4



? ? SendClientMessage(playerid, color, str);



? ? #emit RETN

? }

? return 1;

}





Sir i don't know what does means in this function? i need to translate to learn what is meaning of this code.


  Bullet does not register
Posted by: BoNNe - 2021-05-24, 09:53 PM - Forum: Pawn Scripting - No Replies

I have had a SAMP server for some time and the players during a duel between players also have a problem, namely the server does not record the bullet when it receives damage. Not always, but the most common is when a player runs and the bullet enters him, his life does not decrease.?If necessary, I will post a video about this problem to let you know what the problem is.


  Is open.mp compatible with RTL languages?
Posted by: Radical - 2021-05-24, 09:47 AM - Forum: Questions and Suggestions - Replies (1)

Is open.mp compatible with languages written from Right To Left?



And can you change the chat / messages from left side to right side of game screen?


  Ask for help
Posted by: BetterChan - 2021-05-24, 07:04 AM - Forum: Other - No Replies

I asked the administrator to create a discussion board in Chinese. I voluntarily become the administrator of this forum, and I will contribute to burgershot.



I hope the administrator agrees to my request, please!


Thumbs Up Biker's Bar
Posted by: mirsat24 - 2021-05-22, 03:39 PM - Forum: Videos and Screenshots - Replies (1)

Discord:Mirsat24#8134



[Video: https://youtu.be/RrYg4nvEhHM]


  Help! Plugin crashdetect [debug] Run time error 5: "Invalid memory access"
Posted by: PutuSuhartawan - 2021-05-22, 03:51 AM - Forum: Pawn Scripting - Replies (4)

Code:
[debug] Run time error 5: "Invalid memory access"

[debug] AMX backtrace:

[debug] #0 003cb664 in public OnPlayerEditDynamicObject (playerid=3, objectid=16000, response=1, Float:x=-1794.16113, Float:y=-326.82227, Float:z=23.70365, Float:rx=0.00000, Float:ry=0.00000, Float:rz=0.00000) at e:\GAME\Server PutuSuhartawansamp03DL_svr_R1_win32\gamemodes\SuhartawanWorld.pwn:11020





How to fix on this warning sir?


  Help! How to get function closest object ID When click Y can be brought Attached.
Posted by: PutuSuhartawan - 2021-05-20, 04:01 AM - Forum: Pawn Scripting - No Replies

Help! How to get direct object ID?that are close to objects, including TVs or chairs, etc. When we click Y, it can be brought / we can get closer to it automatically


  Problems adapting to mobile SAMP
Posted by: VanHelsing - 2021-05-19, 10:01 PM - Forum: Support - No Replies

Hello, I am trying to adapt a gamemode originally made for computer to samp mobile. I am having a problem related to player movement, where pc players see samp mobile players go "into esc" and teleport when moving. The same thing happens when a mobile player watches a pc player walk.

I couldn't find anything related on the internet.

Plugins used:
- Sscanf
- Streamer

Thanks in advance!

** I apologize for any errors in my English.


  HELP! How to get better recommend than `udb_hash()` and bcrypt system?
Posted by: PutuSuhartawan - 2021-05-19, 08:41 PM - Forum: Pawn Scripting - Replies (1)

People need to secure the password from the communist.

Code:
Example



main(){

bcrypt_hash(0,"OnPassswordHash","text",12);

}



forward OnPassswordHash(playerid);

public OnPassswordHash(playerid){

new dest[60];

bcrypt_get_hash(dest);

bcrypt_verify(playerid,"OnPassswordVerify","text",dest);

}



forward OnPassswordVerify(playerid,bool:success);

public OnPassswordVerify(playerid,bool:success){

//success denotes verifying was successful or not

if(success){

//verfied

} else{

//hash doesn't match with text

}

}