| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 8,064
» Latest member: rovwut
» Forum threads: 2,432
» Forum posts: 12,451
Full Statistics
|
| Online Users |
There are currently 248 online users. » 0 Member(s) | 245 Guest(s) Bing, Google, Applebot
|
|
|
| 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.
|
|
|
|
| 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!
|
|
|
|
| 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?
|
|
|
|
| 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
}
}
|
|
|
|
| SA-MP 0.3.7-R4-2 Client |
|
Posted by: Leonardo - 2021-05-18, 10:33 PM - Forum: Discusión GTA SA Multijugador
- No Replies
|
 |
Hace unos d?as/semanas acaban de publicar ?sta nueva versi?n del cliente en la web de SA-MP.
Estos son los cambios (seg?n foros rusos, no es oficial):
- Se arregl? una vulnerabilidad que permit?a a los desarrolladores de servidores de SA-MP ejecutar cualquier c?digo en la PC de los clientes de SA-MP.
La descarga est? disponible en la misma web de SA-MP.
|
|
|
|
|