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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,829
» Latest member: fatmadal0981
» Forum threads: 2,374
» Forum posts: 12,273

Full Statistics

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

Latest Threads
Custom Server Scripts Sup...
Forum: Questions and Suggestions
Last Post: sophia2005
2 hours ago
» Replies: 0
» Views: 3
fjgtid
Forum: Questions and Suggestions
Last Post: ziesol
7 hours ago
» Replies: 0
» Views: 7
awwrgd
Forum: Pawn Scripting
Last Post: ziesol
7 hours ago
» Replies: 0
» Views: 9
htrjutru
Forum: Support
Last Post: ziesol
7 hours ago
» Replies: 0
» Views: 8
How to make your GTA SA:M...
Forum: Tutorials
Last Post: Daniel1237
Yesterday, 12:49 PM
» Replies: 4
» Views: 4,520
GTA San Andreas Definitiv...
Forum: General Discussions
Last Post: Daniel1237
Yesterday, 12:47 PM
» Replies: 7
» Views: 27,244
PROJECT: LOS ANGELES — TH...
Forum: Advertisements
Last Post: DevonH
2026-01-03, 04:04 AM
» Replies: 9
» Views: 966
I recommend Xiaomi Rednot...
Forum: Tech
Last Post: NoxxeR
2026-01-03, 01:31 AM
» Replies: 0
» Views: 55
🌆 Final City RPG – Englis...
Forum: Advertisements
Last Post: Beanny
2026-01-02, 02:46 PM
» Replies: 0
» Views: 53
OLD GAMEMODE 0.3DL
Forum: Gamemodes
Last Post: su109551
2026-01-01, 06:59 PM
» Replies: 0
» Views: 78

 
  Timer
Posted by: njoBe_ - 2021-07-30, 08:49 PM - Forum: Pawn Scripting - Replies (6)

Im trying to make /mute command, but i dont know how to set timer which is equal to time which i set in command and when this timer ends it sets to player stats Muted = 0



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

{

if (!IsPlayerAdmin(playerid) || PlayerInfo [playerid] [pAdmin] < 1) return SendClientMessage(playerid, COLOR_SERVER, "[BC:RP] {FFFFFF}Niste admin.");

if (IsPlayerAdmin(playerid) || PlayerInfo [playerid] [pAdmin] > 0)

{

new id, reason[128], str[128], string[256], pName[MAX_PLAYER_NAME], pMutedName[MAX_PLAYER_NAME], time;

if(sscanf(params, "uis", id, time, reason)) return SendClientMessage(playerid, COLOR_SERVER, "[Usage]: {FFFFFF}/mute [ID/Ime] [Vrijeme] [Razlog]") ;

else if (time < 0 || time > 1000) return SendClientMessage(playerid, COLOR_SERVER, "[Usage]: Vrijeme ne moze biti manje od 0 (skidanje mute-a) i vece od 1000. ");

else if (time == 0) return SendClientMessage(playerid, -1, "Admin vam je skinuo mute.");

GetPlayerName(playerid, pName, sizeof(pName));

GetPlayerName(id, pMutedName, sizeof(pMutedName));

format(str, sizeof(str), "{FF0000}Utisani ste od strane admina {FFFFFF}%s {FF0000} na {FFFFFF}%d {FF0000}minuta. Razlog: {FFFFFF}%s.", pName, time, reason);

SendClientMessage(id, -1, str);

format(string, sizeof(string), "{FF0000}[Mute]: Admin {FFFFFF}%s {FF0000}je utisao igraca {FFFFFF}%s {FF0000}na {FFFFFF}%d {FF0000}minuta. Razlog: {FFFFFF}%s", pName, pMutedName, time, reason);

foreach(Player, i)

if(PlayerInfo [i] [pStaff] == 1)

{

SendClientMessage(i, -1, string);

}

PlayerInfo [id] [pMuted] = time;

PlayerInfo [id] [pMutedReason] = reason;

SetTimerEx("mutetime", time*1000, false, "d", id);





}

return 1;

}


  I cannot find the erorr here!
Posted by: Scylla - 2021-07-30, 09:13 AM - Forum: Pawn Scripting - Replies (3)

I have been getting this error and I don't know where this is happening. This error was really long time ago so I stopped coding. Now I want to continue it, and still I'm getting this error and it sucks.
Error:

Code:
\CF.pwn(125) : error 010: invalid function or declaration
\CF.pwn(483) : error 017: undefined symbol "DIALOG_LOGIN"
\CF.pwn(487) : error 017: undefined symbol "DIALOG_REGISTER"
\CF.pwn(1105) : error 017: undefined symbol "DIALOG_REGISTER"
\CF.pwn(1110) : error 017: undefined symbol "DIALOG_REGISTER"
\CF.pwn(1126) : error 017: undefined symbol "DIALOG_LOGIN"
\CF.pwn(1138) : error 017: undefined symbol "DIALOG_LOGIN"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
7 Errors.

Line 125 - 129:
Code:
enum
{
? ? ? ?DIALOG_REGISTER = 0,
? ? ? ?DIALOG_LOGIN,
};

Line 483:
Code:
ShowPlayerDialogEx(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "{FFFF00}Login to proceed", "{FFFFFF}This account is registered... Please login to continue with your account.", "Enter", "Close");

My includes:
Code:
#include     "a_samp"
#include     "YSI\y_ini"
#include     "YSI\y_timers"
#include    "sscanf2"
#include   "progress"
#include   "zcmd"
#include  "mSelection"
#include  "weapon-config"
#include  "streamer"
#include  "foreach"

Please help!


  Motion styles | samp-walking-styles | samp-running-styles
Posted by: Mergevos - 2021-07-29, 03:10 PM - Forum: Libraries - Replies (1)

These libraries allow you to change player's running (not sprinting)?and walking styles. It means if you apply a walking/running style to a player, instead of classic walking/running behaviour taken from skin player is using, it will apply an animation to manipulate with player's motion.



More on:?



Mergevos/samp-walking-styles: Ben Jackster's walking styles script, forked by me, allowing player to choose between 15 walking styles (github.com)



Mergevos/samp-running-styles: Run in your style! (github.com)


  CIUDAD OF PAYAMAN Gamemode Work In (PC & Mobile) Full Script
Posted by: Nick MFRP - 2021-07-29, 11:59 AM - Forum: Gamemodes - No Replies

This Is A SQL Script Work In Lemehost And Ultrahost?



You Can Play Mobile And PC Players Cross Platform



Download Link =?https://www.mediafire.com/file/1om1qjus341bpyr/CIUDAD_OF_PAYAMAN_GM.zip/file





Any Helps You Can Comment





Love From Kerala


  Server Start normally by there's an Error on Server Logs
Posted by: RainG - 2021-07-28, 05:12 PM - Forum: Pawn Scripting - Replies (1)

Code:
Couldn't connect to radio station database... server will continue to operate normally.



Code:
[17:08:36]? ? Error: Function not registered: 'SvCreateGStream'

[17:08:36]? ? Error: Function not registered: 'SvDeleteStream'

[17:08:36]? ? Error: Function not registered: 'SvAttachSpeakerToStream'

[17:08:36]? ? Error: Function not registered: 'SvDetachSpeakerFromStream'

[17:08:36]? ? Error: Function not registered: 'SvGetVersion'

[17:08:36]? ? Error: Function not registered: 'SvHasMicro'

[17:08:36]? ? Error: Function not registered: 'SvCreateDLStreamAtPlayer'

[17:08:36]? ? Error: Function not registered: 'SvAttachListenerToStream'

[17:08:36]? ? Error: Function not registered: 'SvAddKey'


  split pawn codes
Posted by: redex - 2021-07-28, 03:46 PM - Forum: Pawn Scripting - Replies (3)

hi.

i am working on a sa-mp gamemode project, its going to take about  code line, i was wondering is there any way to split the code, for exp put the JOBS related codes to another file and include it , so if i need to edit something about jobs i dont need to check hell a lot code lines to fix a problem!



how can i do that? is it good?

can it cause bad effects like lags or some other bad effects to server?

if u know anything please let me know, thanks!


  User ped anim
Posted by: Paulthas01 - 2021-07-27, 01:17 PM - Forum: Support - No Replies

Como altero o tipo de anima??o de jogador ?nico?



UsePedAnims ? global


  Audio plugin error (linux)
Posted by: Otakeiro - 2021-07-26, 01:25 AM - Forum: Pawn Scripting - No Replies

Whenever I turn on my server I'm getting this message in the logs

*** Audio Plugin: Error binding endpoint for acceptor: Address already in use

As a result my filterscript doesn't work, how do I solve this?


  check sa-mp mobile players
Posted by: Radical - 2021-07-25, 07:03 PM - Forum: Pawn Scripting - Replies (3)

How to check is player connected with sa-mp mobile?

--------------------------------------------------------

2023 UPDATE:

PHP Code:
#if !defined gpci
    native gpci(playeridserial[], len);
#endif

IsPlayerUsingSAMPLauncher(playerid)
{
//Checks if player connected with android mobile using the app SAMP Launcher
//https://play.google.com/store/apps/details?id=ru.unisamp_mobile.launcher&hl=en&gl=US&pli=1

new
szSerial[41]
;

gpci(playeridszSerialsizeof(szSerial));

if(
strcmp("ED40ED0E8089CC44C08EE9580F4C8C44EE8EE990"szSerialtrue)) 
{
return 
1;
}

return 
0;


  server crash
Posted by: Zow - 2021-07-24, 04:56 PM - Forum: Pawn Scripting - Replies (2)

By?using PawnPlus & eSelection?

And then my server crashed any help please?



Code:
Loaded log file: "server_log.txt".

----------



SA-MP Dedicated Server

----------------------

v0.3.7-R2, (C)2005-2015 SA-MP Team



[22:45:46]

[22:45:46] Server Plugins

[22:45:46] --------------

[22:45:46]? Loading plugin: MapAndreas.so

[22:45:46]? Loaded.

[22:45:46]? Loading plugin: crashdetect.so

[22:45:46]? CrashDetect plugin 4.20

[22:45:46]? Loaded.

[22:45:46]? Loading plugin: mysql.so

[22:45:46]? >> plugin.mysql: R41-4 successfully loaded.

[22:45:46]? Loaded.

[22:45:46]? Loading plugin: Whirlpool.so

[22:45:46]?

[22:45:46]? ==================

[22:45:46]?

[22:45:46]? Whirlpool loaded

[22:45:46]?

[22:45:46]? ==================

[22:45:46]?

[22:45:46]? Loaded.

[22:45:46]? Loading plugin: cec.so

[22:45:46]? ? < cec 1.0 | Copyright 2020 >

[22:45:46]? ? ? Author: Ak-kawit "leaks666" Tahae

[22:45:46]? ? Repository: https://github.com/aktah/cec

[22:45:46]?

[22:45:46]? ? ? --------------------------------

[22:45:46]? Loaded.

[22:45:46]? Loading plugin: streamer.so

[22:45:46]



*** Streamer Plugin v2.9.5 by Incognito loaded ***



[22:45:46]? Loaded.

[22:45:46]? Loading plugin: sscanf.so

[22:45:46]



[22:45:46]? ===============================



[22:45:46]? ? ? sscanf plugin loaded.? ?



[22:45:46]? ? ? ? Version:? 2.10.2? ? ? ?



[22:45:46]? ? (c) 2020 Alex "Y_Less" Cole?



[22:45:46]? ===============================



[22:45:46]? Loaded.

[22:45:46]? Loading plugin: pawncmd.so

[22:45:46] [Pawn.CMD] plugin v3.3.3 by urShadow loaded

[22:45:46]? Loaded.

[22:45:46]? Loading plugin: pawnraknet.so

[22:45:46] [Pawn.RakNet]



? ? | Pawn.RakNet 1.4.1 | 2016 - 2020

? ? |--------------------------------

? ? | Author and maintainer: urShadow





? ? | Compiled: Jun 18 2020 at 11:28:17

? ? |--------------------------------------------------------------

? ? | Forum thread: https://forum.sa-mp.com/showthread.php?t=640306

? ? |--------------------------------------------------------------

? ? | Repository: https://github.com/urShadow/Pawn.RakNet

? ? |--------------------------------------------------------------

? ? | Wiki: https://github.com/urShadow/Pawn.RakNet/wiki



[22:45:46]? Loaded.

[22:45:46]? Loading plugin: sampvoice.so

[22:45:46] [sv:dbg:network:init] : module initializing...

[22:45:46] [dbg:raknet:init] : module initializing...

[22:45:46] [dbg:raknet:init] : installed hook to 'GetRakServerInterface' function (ptr:0x806ca30)

[22:45:46] [dbg:raknet:init] : installed hook to 'OnPlayerDisconnect' function (ptr:0x80a51d0)

[22:45:46] [dbg:raknet:init] : module initialized

[22:45:46] [sv:dbg:network:init] : module initialized

[22:45:46]? -------------------------------------------? ?

[22:45:46]? ? ___? ? ? ? ? ? ? ? __? __? ? _? ? ? ? ? ? ?

[22:45:46]? / __| __ _ _ __? _ _\ \ / /__ (_) __ ___? ?

[22:45:46]? \__ \/ _` | '? \| '_ \? / _ \| |/ _/ -_)

[22:45:46]? |___/\__,_|_|_|_| .__/\_/\___/|_|\__\___|

[22:45:46]? ? ? ? ? ? ? ? ? |_|? ? ? ? ? ? ? ? ? ? ? ? ?

[22:45:46]? -------------------------------------------? ?

[22:45:46]? ? ? ? ? ? SampVoice by MOR loaded? ? ? ? ? ? ?

[22:45:46]? -------------------------------------------? ?

[22:45:46]? Loaded.

[22:45:46]? Loading plugin: PawnPlus.so

[22:45:46]? PawnPlus v1.3.2 loaded

[22:45:46]? Created by IllidanS4

[22:45:46]? Loaded.

[22:45:46]? Loading plugin: nativechecker.so

[22:45:46]? Loaded.

[22:45:46]? Loaded 12 plugins.



[22:45:46] [debug] Server crashed due to an unknown error

[22:45:46] [debug] Native backtrace:

[22:45:46] [debug] #0 f79abf7f in _Z13GetStackTraceRSt6vectorI10StackFrameSaIS0_EEPv () in plugins/crashdetect.so

[22:45:46] [debug] #1 f79a481d in _ZN11CrashDetect20PrintNativeBacktraceERSoRKN2os7ContextE () in plugins/crashdetect.so

[22:45:46] [debug] #2 f79a4e48 in _ZN11CrashDetect20PrintNativeBacktraceERKN2os7ContextE () in plugins/crashdetect.so

[22:45:46] [debug] #3 f79a65dc in _ZN11CrashDetect7OnCrashERKN2os7ContextE () in plugins/crashdetect.so

[22:45:46] [debug] #4 f79ab79f in ?? () in plugins/crashdetect.so

[22:45:46] [debug] #5 f7f02b70 in __kernel_rt_sigreturn () in linux-gate.so.1

[22:45:46] [debug] Registers:

[22:45:46] [debug] EAX: 00000000 EBX: 098fe160 ECX: f79d6178 EDX: 098d37b8

[22:45:46] [debug] ESI: f7b68cce EDI: f7b6bee4 EBP: f7b6bee4 ESP: ff85749c

[22:45:46] [debug] EIP: 00000000 EFLAGS: 00010286

[22:45:46] [debug] Stack:

[22:45:46] [debug] ESP퍍㓓䴴: f79a9d43 00000000 20646564 70203231

[22:45:46] [debug] ESP퍍㓓䶴: efcf5de6 f7b6bee4 f7b68cce f7f16fa9

[22:45:46] [debug] ESP퍍㓓临: 00000010 0000300c 0000301c efcf5d69

[22:45:46] [debug] ESP퍍㓓亴: f7affd9b f7b6bee4 f7b68cce 00000099

[22:45:46] [debug] ESP퍍㓓伴: f7f2f000 00010100 00000101 01010001

[22:45:46] [debug] ESP퍍㓓䚴: f7ed5972 f7f2f55c 00000001 f7f0f6fd

[22:45:46] [debug] ESP퍍㓓䜴: f7f0ab1b f7f2f55c 00000000 ff8575e0

[22:45:46] [debug] ESP퍍㓓䞴: 3fe15d30 00000000 00000000 00000000

[22:45:46] [debug] ESP퍍㓓崴: ff857ce0 00000006 00001000 f7f2f970

[22:45:46] [debug] ESP퍍㓓嶴: 00000007 0000301c 098d3f00 f658c000

[22:45:46] [debug] ESP퍍㓓帴: 00000000 00000802 00000000 efe3e9c0

[22:45:46] [debug] ESP퍍㓓庴: 000003f4 00000000 00000000 ff8577c4

[22:45:46] [debug] ESP퍍㓓弴: 00000000 00000000 00000000 00000000

[22:45:46] [debug] ESP퍍㓓嚴: 098d9f30 098d9f60 098d9f90 098d9fc0

[22:45:46] [debug] ESP퍍㓓圴: f7bc53c4 ff85768c f7ee9000 000000f0

[22:45:46] [debug] ESP퍍㓓垴: f7affd30 098da260 098da290 098da2c0

[22:45:46] [debug] ESP퍍㓓洴: fa84b800 098da3e0 098da410 098da440

[22:45:46] [debug] ESP퍍㓓涴: f7b001f0 f7bc53c4 f7affd30 098da5c0

[22:45:46] [debug] ESP퍍㓓渴: f7afed06 098da6e0 098da710 098da740

[22:45:46] [debug] ESP퍍㓓溴: 098da830 098da860 098da890 098da8c0

[22:45:46] [debug] ESP퍍㓓漴: 098da9b0 098da9e0 098daa10 098daa40

[22:45:46] [debug] ESP퍍㓓暴: 098dab30 098dab60 098dab90 098dabc0

[22:45:46] [debug] ESP퍍㓓朴: 098dacb0 098dace0 098dad10 098dad40

[22:45:46] [debug] ESP퍍㓓枴: 098dae30 098dae60 098dae90 098daec0

[22:45:46] [debug] ESP퍍㓓紴: 098dafb0 098dafe0 098db010 098db040

[22:45:46] [debug] ESP퍍㓓綴: 098db130 098db160 098db190 098db1c0

[22:45:46] [debug] ESP퍍㓓縴: 08049e9c 098db2e0 098db310 f7bc4818

[22:45:46] [debug] ESP퍍㓓纴: 00000034 f79d5c80 f7bc2778 ffffffbc

[22:45:46] [debug] ESP퍍㓓缴: f7ad7816 00000006 00000000 00000005

[22:45:46] [debug] ESP퍍㓓皴: 0000005b f79e4b2c 00000622 f79e876c

[22:45:46] [debug] ESP퍍㓓眴: 0000007c 00000005 00000001 00000000

[22:45:46] [debug] ESP퍍㓓瞴: f7a5ef3e 0a3cbbd0 00000000 0000003c

[22:45:46] [debug] Loaded modules:

[22:45:46] [debug] 00000000 - 00187dc3 samp03svr

[22:45:46] [debug] f7f02000 - f7f02d2c linux-gate.so.1

[22:45:46] [debug] f7eec000 - f7eeeeec /lib/i386-linux-gnu/libdl.so.2

[22:45:46] [debug] f7ec9000 - f7ee976b /lib/i386-linux-gnu/libpthread.so.0

[22:45:46] [debug] f7cea000 - f7ed4f4e /lib/i386-linux-gnu/libstdc.so.6

[22:45:46] [debug] f7be5000 - f7ce8f08 /lib/i386-linux-gnu/libm.so.6

[22:45:46] [debug] f7bc6000 - f7be29cc /lib/i386-linux-gnu/libgcc_s.so.1

[22:45:46] [debug] f79d7000 - f7bcabcf /lib/i386-linux-gnu/libc.so.6

[22:45:46] [debug] f7f03000 - f7f2deeb /lib/ld-linux.so.2

[22:45:46] [debug] f7efa000 - f7efbe34 plugins/MapAndreas.so

[22:45:46] [debug] f798c000 - f79d43d4 plugins/crashdetect.so

[22:45:46] [debug] f75fb000 - f7990eb2 plugins/mysql.so

[22:45:46] [debug] f75d7000 - f75fad32 /home/user10/samp/plugins/../log-core.so

[22:45:46] [debug] f75c1000 - f75c9567 /lib/i386-linux-gnu/librt.so.1

[22:45:46] [debug] f65aa000 - f65bc4bc /lib/i386-linux-gnu/libnss_files.so.2

[22:45:46] [debug] f75cd000 - f75d57c4 plugins/Whirlpool.so

[22:45:46] [debug] f7ef3000 - f7ef75e2 plugins/cec.so

[22:45:46] [debug] f632d000 - f6401b05 plugins/streamer.so

[22:45:46] [debug] f6590000 - f65a7834 plugins/sscanf.so

[22:45:46] [debug] f6178000 - f63370c0 plugins/pawncmd.so

[22:45:46] [debug] f6043000 - f617c7d8 plugins/pawnraknet.so

[22:45:46] [debug] f5e99000 - f604d349 plugins/sampvoice.so

[22:45:46] [debug] efb53000 - eff245c6 plugins/PawnPlus.so

[22:45:46] [debug] f658c000 - f658df70 plugins/nativechecker.so