Quantcast
Channel: SA-MP Forums
Viewing all 18226 articles
Browse latest View live

[FS]MUSICA

$
0
0
PHP Code:

#include a_samp //by Samp Team
#include zcmd //by Zeex

//Veja se não tem outras dialogs com o mesmo id em seus FS/GM se tiver mude!
#define D_MUSICA        1
#define D_AJUDA         2
#define D_PEDIRMUSICA   100000

#define COR_ERRO        0xFF0000FF
#define COR_INFO        0x00FF00FF
#define COR_DICA        0x0000FFFF

new pname[MAX_PLAYER_NAME];
new 
bool:PediuMusica[MAX_PLAYERS];

public 
OnFilterScriptInit()
{
    print(
"\n   [FS] Música carregado by Magaiver   ");
    print(
"        Não Retire os Créditos!!!       \n");
    return 
1;
}

public 
OnFilterScriptExit()
{
    return 
1;
}
public 
OnPlayerConnect(playerid)
{
    
PediuMusica[playerid] = false;
    return 
1;
}

public 
OnPlayerSpawn(playerid)
{
    return 
1;
}

public 
OnDialogResponse(playeriddialogidresponselistiteminputtext[])
{
    if(
dialogid == D_MUSICA)
    {
        if(!
response)
        {
            
SendClientMessage(playeridCOR_INFO"DICA: Comandos do Sistema de Música: ( /amusica )");
        }
        else
        {
            if(
strlen(inputtext) < 1)
            {
                
SendClientMessage(playeridCOR_ERRO"ERRO: Insira alguma música!");
                
ShowPlayerDialog(playeridD_MUSICADIALOG_STYLE_INPUT"Música para todos""Insira o nome da música desejada!\n(AVISO): Coloque o cantor e o nome da música ou o link do youtube para melhores resultados\n""Tocar""Cancelar");
            }
            else
            {
            static 
istr[128], str2[104+MAX_PLAYER_NAME];
            
GetPlayerName(playeridpnameMAX_PLAYER_NAME);
            for( 
GetMaxPlayers() - 1> -1; --i)
            {
                if(
IsPlayerConnected(i))
                {
                
format(strsizeof(str), "https://6t.pe/?song=%s"inputtext);
                
PlayAudioStreamForPlayer(istr);

            
format(str2sizeof(str2), "======================================================================================================");
            
SendClientMessageToAll(0xFFFFFFFFstr2);
            
            
format(str2sizeof(str2), "{00FF2F}O Administrador %s iniciou a música %s para todos. Se não quiser ouvir, use /PMUSICA."pname,inputtext);
            
SendClientMessageToAll(0xFFFFFFFFstr2);
            
            
format(str2sizeof(str2), "======================================================================================================");
                }
                }
             
SendClientMessageToAll(0xFFFFFFFFstr2);
            }
        }
        return 
1;
    }
    if(
dialogid == D_PEDIRMUSICA)
    {
        if(!
response)
        {
            
SendClientMessage(playeridCOR_DICA"DICA: Comandos do Sistema de Música: ( /amusica )");
        }
        else
        {
            if(
strlen(inputtext) < 1)
            {
                
SendClientMessage(playeridCOR_ERRO"ERRO: Insira alguma música!");
                
ShowPlayerDialog(playeridD_PEDIRMUSICADIALOG_STYLE_INPUT"Pedir uma Música""Insira o nome da música desejada!\n[AVISO]: Coloque o cantor e o nome da música ou o link do youtube para melhores resultados\n""Pedir""Cancelar");
            }
            else
            {
            
SendClientMessage(playeridCOR_DICA"AVISO: Música enviada com sucesso aos ADMINS!");
               
PediuMusica[playerid] = true;
            
SetTimerEx("PedidoDeMusica"120000false"d"playerid);
            static 
istr2[104+MAX_PLAYER_NAME];
            
GetPlayerName(playeridpnameMAX_PLAYER_NAME);
            for( 
GetMaxPlayers() - 1> -1; --i)
            {
                if(
IsPlayerAdmin(i))
                {
                
format(str2sizeof(str2), "ATENÇÃO ADMINS: %s está pedindo a música %s"pnameinputtext);
                
SendClientMessage(iCOR_INFOstr2);
                }
                }
            }
        }
        return 
1;
    }
    return 
1;
}
//Funções
forward PedidoDeMusica(playerid);
public 
PedidoDeMusica(playerid)
{
    
PediuMusica[playerid] = false;
    return 
1;
}
//Comandos
CMD:tocar(playeridparams[])
{
    if(!
IsPlayerAdmin(playerid)) return SendClientMessage(playeridCOR_ERRO"ERRO: Comando disponível apenas para admins RCON!");
    
ShowPlayerDialog(playeridD_MUSICADIALOG_STYLE_INPUT"Música para todos""Insira o nome da música desejada!\n[AVISO]: Coloque o cantor e o nome da música ou o link do youtube para melhores resultados\n""Tocar""Cancelar");
    return 
1;
}
CMD:pmusicatodos(playeridparams[])
{
    if(!
IsPlayerAdmin(playerid)) return SendClientMessage(playeridCOR_ERRO"ERRO: Comando disponível apenas para admins RCON!");
     static 
i,str[104+MAX_PLAYER_NAME];
      
GetPlayerName(playeridpnameMAX_PLAYER_NAME);
    for( 
GetMaxPlayers() - 1> -1; --i)
    {
     if(
IsPlayerConnected(i))
     {
    
StopAudioStreamForPlayer(i);
    }
    }
    
format(strsizeof(str), "[ADMIN] %s parou a música atual!"pname);
    
SendClientMessageToAll(COR_INFOstr);
    return 
1;
}
CMD:pmusica(playeridparams[])
{
    
StopAudioStreamForPlayer(playerid);
    
SendClientMessage(playeridCOR_INFO"INFO: A reprodução de sons foi parada!");
    return 
1;
}
CMD:pedirmusica(playeridparams[])
{
    if(
PediuMusica[playerid] == false)
    {
    
ShowPlayerDialog(playeridD_PEDIRMUSICADIALOG_STYLE_INPUT"Pedir uma Música""Insira o nome da música desejada!\n[AVISO]: Coloque o cantor e o nome da música ou o link do youtube para melhores resultados\n""Pedir""Cancelar");
    }
    else
    {
    
SendClientMessage(playeridCOR_ERRO"ERRO: Aguarde 2 Minutos para pedir outra música!");
    }
    return 
1;
}
CMD:amusica(playeridparams[])
{
    if(
IsPlayerAdmin(playerid))
    {
    
ShowPlayerDialog(playeridD_AJUDADIALOG_STYLE_MSGBOX"Comandos de Música""COMANDOS ADM: \n\n/tocarmusica - Toca uma música para todos pelo nome ou link do youtube\n/pmusicatodos - Para a música de todos\n\nCOMANDOS PLAYER: \n\n/pmusica - Para a música atual\n/pedirmusica - Envia a música desejada para os admins online\n""Ok""");
    }
    else
    {
    
ShowPlayerDialog(playeridD_AJUDADIALOG_STYLE_MSGBOX"Comandos de Música""/pmusica - Para a música atual\n/pedirmusica - Envia a música desejada para os admins online\n""Ok""");
    }
    return 
1;








esta dando esse erro
filterscripts\Musica.pwn(64) : warning 217: loose indentation

[GameMode] City of Angels Roleplay [GM+UCP]

$
0
0

OPEN SOURCE CODE by: Freeze
- Índice
1. Introdução
2. Créditos
3. Sobre o Gamemode
4. Sobre a UCP
5. Imagens e Videos
6. Downloads


1. Introdução
O City of Angels foi um dos maiores servidores de roleplay, conhecido por muitos do seguimento e algum tempo atrás chegou ao seu fim.
O CA:RP teve sua primeira versão em 2013 fundado e programado por Mim, tendo como fundadores também: Henrique e Fontella, que ao decorrer dos anos afastaram-se do projeto e do samp, e desde então veio arrumando seu espaço no cenário Roleplay entre os inicios e fim de servidores. (Sim, o CA:RP abriu e fechou diversas vezes)

O Gamemode também foi utilizado num outro projeto também de minha autoria, o 1990 Roleplay (ou 90's RP // 90:RP )

Sua ultima versão foi em 2018 como City of Angels Roleplay, em uma ultima tentativa de manter o servidor, e com o término e fechamento, não pretendo retornar com o server, portanto resolvi disponibilizar o gamemode para que possa servir como base de estudos.

O Gamemode foi desenvolvido do zero por mim, um intenso trabalho com mais de 1 ano de construção Pré-Servidor, mais de 2 anos de desenvolvimento após abertura do servidor trazendo melhorias e novos sistemas para o gamemode.



2. Créditos
Code:

#Includes
a_samp - SA-MP Team
a_mysql - https://github.com/pBlueG/SA-MP-MySQL/releases // BlueG // maddinat0r
zcmd - ZeeX
foreach - Y_Less
sscanf2 - Y_Less e Emmet_.
eSelection - iFarbod
easyDialog - Emmet
streamer - Incognito // Adaptações: Freeze
strlib - David Weston
multilines - KuHS
neons - Psymetrix
dini - DracoBlue
YSI - Y_Less
progress - Infernus' Group
callbacks - Emmet
OPA - Emmet
dialogs - Gammix
dns - Incognito
EVF - Abyss Morgan

#Gamemode
Fundador e Head of Desenvolvimento:
Copyright © 2018 Freeze. All rights reserved.  // www.freeze.pe.hu // Discord: Freeze#8318 // Felipe Moura Barbosa

Codder auxiliar: Nip
Mapas: Freeze, Galdiano e L33t

#UCP
Totalmente desenvolvida por Freeze

#Agradecimentos especiais: (Não só por códigos mas por ter ajudado na história do CA:RP)
Cortez, Nip, VoVô, Magnum, Tekilla, Galdiano, Cody, L33t, Carbone, Henrique Zaka, Fontella, Dax, Lukka$, Buss, Gandalf.
(Desculpa se esqueci alguém.. :p)



3. Gamemode
Code:

- Sistema de Registro via UCP.
- Todo em Mysql R39-4.
- Empregos: { Caminhoneiro, Taxista, Mecanico, Treinador, Vendedor de HotDog, Falsificador, Desmanche, Pescador e Lixeiro }
- Sistema único de Armas. { Não é possível dar Scroll na arma, númeração única para cada arma, sistema de munição, arma não some da mão ao acabar munição, dropar armas e munições, etc... }
- Emprego de Caminhoneiro. { Ao estilo do LS:RP, industrias primárias e secundarias, empresas, caixas, cargas, etc... }
- Sistema de ferimentos // Morte.
- Sistema de facções dinâmico.
- Sistema de governo dinâmico. { Controle de taxas, impostos, salário minimo, cofre publico, etc... }
- Sistema de casas dinâmico com Furniture. { Com permissão para outros mexerem no furniture // Alarme em residencias (Contra roubos) }
- Sistema de empresas dinâmico com Furniture.
- Sistema de Complexos // Prédios com Furniture. { Você pode criar casas dentro de um complexo / Prédio. }
- Sistema de Garagens dinâmico com Furniture. { Para guardar seus veículos. }
- Sistema de Corrida de Cavalos com estatísticas funcionais.
- Sistema de clima dinâmico. { O clima pode variar entre as cidades. }
- Sistema de empresas dinâmico com Furniture.
- Sistema de facções dinâmico.
- Sistema de portões para facções/casas/empresas dinâmico.
- Sistema de Itens (Oculos, Mochilas, Chapeus, etc..) dinâmico.
- Sistema de ATM (Caixa Eletronico) dinâmico.
- Sistema de Drogas com tipos e qualidade diferentes.
- Sistema de plantação de maconha.
- Sistema de pixe dinâmico.
- Sistema de Multas avançado.
- Sistema de Orelhão interligado com o sistema de celular // Com torres de sinal, interface e diversas funções.
- Sistema de rastreador de celular.
- Anti Hack. (Ammo Hack, Weapon Hack, God Mod, Airbreak, Flood, e mais...)

E muito mais..

- Mais de 10k de objetos de mapas de interior e exterior espalhados. // A include Streamer foi customizada por mim para melhor funcionamento dos mapas no servidor.



4. Sobre a UCP
Toda a UCP é desenvolvida em PHP,HTML5,CSS3,Javascript,bootstrap.
Tem um layout totalmente responsivo e interligado com o Gamemode.



5. Imagens e Videos
UCP:
http://freeze.pe.hu/gamemode/ucp1.PNG
http://freeze.pe.hu/gamemode/ucp2.PNG

Gamemode:
Celular: https://www.youtube.com/watch?v=GKG5hm7IVJM
Celular Prints: http://freeze.pe.hu/gamemode/Prints%20-%20CellPhone/
Rastreador: https://www.youtube.com/watch?v=0agl5v1yfsg
Desmanche: https://www.youtube.com/watch?v=WGuttP4bQ0M
Corrida de Cavalos: https://www.youtube.com/watch?v=hrxsyJ7zLgw
Mapas:
https://www.youtube.com/watch?v=cZriTgT07qE
https://www.youtube.com/watch?v=LmwLbvXAyMw



6. Downloads

Gamemode:
http://www.mediafire.com/file/b0au7b...eMode%26DB.rar
Virus Total Scan:
https://www.virustotal.com/pt/url/e0...is/1525486700/

UCP:
http://www.mediafire.com/file/cj9p0o...%20-%20UCP.rar
Virus Total Scan:
https://www.virustotal.com/pt/url/53...is/1525486995/

----
Não delete meu tópico cara!

actor problem

$
0
0


hello, how to fix this? actor fall on all CreateDynamicObject map

hope anyone help, Thanks

Ahm? Someone can help me this?

$
0
0
C:\Users\amos\Desktop\pawno\include\a_samp.inc(19) : fatal error 100: cannot read from file: "string"

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.

Cannot start server

$
0
0
When I am starting the server I am getting this error

Code:

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

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

[06:44:01] password = ""  (string)
[06:44:01]
[06:44:01] Server Plugins
[06:44:01] --------------
[06:44:01]  Loading plugin: crashdetect.so
[06:44:01]  CrashDetect v4.18.1 is OK.
[06:44:01]  Loaded.
[06:44:01]  Loading plugin: streamer.so
[06:44:01]

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

[06:44:01]  Loaded.
[06:44:01]  Loading plugin: mysql_static.so
[06:44:01]  >> plugin.mysql: R39-4 successfully loaded.
[06:44:01]  Loaded.
[06:44:01]  Loading plugin: whirlpool.so
[06:44:01] 
[06:44:01]  ==================
[06:44:01] 
[06:44:01]  Whirlpool loaded
[06:44:01] 
[06:44:01]  ==================
[06:44:01] 
[06:44:01]  Loaded.
[06:44:01]  Loading plugin: sscanf.so
[06:44:01]

[06:44:01]  ===============================

[06:44:01]      sscanf plugin loaded.   

[06:44:01]          Version:  2.8.1       

[06:44:01]    (c) 2012 Alex "Y_Less" Cole 

[06:44:01]  ===============================

[06:44:01]  Loaded.
[06:44:01]  Loading plugin: GeoIP_Plugin.so
[06:44:01] [debug] Server crashed due to an unknown error
[06:44:01] [debug] Native backtrace:
[06:44:01] [debug] #0 f56c4180 in _Z13GetStackTraceRSt6vectorI10StackFrameSaIS0_EEPv () from plugins/crashdetect.so
[06:44:01] [debug] #1 f56bc064 in _ZN11CrashDetect20PrintNativeBacktraceERSoRKN2os7ContextE () from plugins/crashdetect.so
[06:44:01] [debug] #2 f56bcd64 in _ZN11CrashDetect20PrintNativeBacktraceERKN2os7ContextE () from plugins/crashdetect.so
[06:44:01] [debug] #3 f56becdb in _ZN11CrashDetect7OnCrashERKN2os7ContextE () from plugins/crashdetect.so
[06:44:01] [debug] #4 f56c34d5 in ?? () from plugins/crashdetect.so
[06:44:01] [debug] #5 f5aa4410 in __kernel_rt_sigreturn () from linux-gate.so.1
[06:44:01] [debug] #6 f5aa4430 in __kernel_vsyscall () from linux-gate.so.1
[06:44:01] [debug] #7 f571b367 in gsignal () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[06:44:01] [debug] #8 f571ca23 in abort () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[06:44:01] [debug] #9 f59712ef in _ZN9__gnu_cxx27__verbose_terminate_handlerEv () from /usr/lib32/libstdc++.so.6
[06:44:01] [debug] #10 f596eea4 in ?? () from /usr/lib32/libstdc++.so.6
[06:44:01] [debug] #11 f596ef1d in ?? () from /usr/lib32/libstdc++.so.6
[06:44:01] [debug] #12 f596f1d1 in ?? () from /usr/lib32/libstdc++.so.6
[06:44:01] [debug] #13 f511e099 in ?? () from plugins/GeoIP_Plugin.so
[06:44:01] [debug] #14 f511ea88 in Load () from plugins/GeoIP_Plugin.so
[06:44:01] [debug] #15 080d2742 in ?? () from ./sampsvr-port_153
[06:44:01] [debug] #16 080d2afa in ?? () from ./sampsvr-port_153
[06:44:01] [debug] #17 080aa0d0 in ?? () from ./sampsvr-port_153
[06:44:01] [debug] #18 f5706a63 in __libc_start_main () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[06:44:01] [debug] Registers:
[06:44:01] [debug] EAX: 00000000 EBX: 00003811 ECX: 00003811 EDX: 00000006
[06:44:01] [debug] ESI: f5a73000 EDI: f5896000 EBP: fed615a8 ESP: fed61424
[06:44:01] [debug] EIP: f5aa4430 EFLAGS: 00000206
[06:44:01] [debug] Stack:
[06:44:01] [debug] ESP+00000000: fed615a8 00000006 00003811 f571b367
[06:44:01] [debug] ESP+00000020: fed61454 00000000 f56ec270 00000005
[06:44:01] [debug] ESP+00000040: 00000000 00000000 00000000 00000000
[06:44:01] [debug] ESP+00000060: 00000000 00000000 00000000 00000000
[06:44:01] [debug] ESP+00000080: 00000000 00000000 00000000 00000000
[06:44:01] [debug] ESP+000000a0: 00000000 00000000 00000000 00000000
[06:44:01] [debug] ESP+000000c0: f5ac6000 f5a77000 00000005 fed61550
[06:44:01] [debug] ESP+000000e0: 00000005 00000000 f5a73488 f591a9cc
[06:44:01] [debug] ESP+00000100: f590547c f5896960 f5ab6e99 f5896960
[06:44:01] [debug] ESP+00000120: f5a73000 f5a73000 081a292c fed615a8
[06:44:01] [debug] ESP+00000140: f5a73000 081a292c f59712ef 00000001
[06:44:01] [debug] ESP+00000160: 00000000 fed615a4 00000000 f591a9cc
[06:44:01] [debug] ESP+00000180: 0a25e7c0 fed61618 f596eea4 f596ee97
[06:44:01] [debug] ESP+000001a0: f5ab96e0 f596eee5 f596ef14 00000000
[06:44:01] [debug] ESP+000001c0: f5a77000 f596eee5 f596f1a2 f596f167
[06:44:01] [debug] ESP+000001e0: f5a6ec00 f596ddb0 f5a94ea8 f596f78c
[06:44:01] [debug] ESP+00000200: 0815aca4 080d27ef f511e0b0 fed616a0
[06:44:01] [debug] ESP+00000220: 0a25e7c0 fed61678 080d2742 0a2589c8
[06:44:01] [debug] ESP+00000240: 00000000 0a25e7c0 0a25856d fed616a0
[06:44:01] [debug] ESP+00000260: fed616a0 fed61708 080a10af fed616e4
[06:44:01] [debug] ESP+00000280: 2f736e69 496f6547 6c505f50 6e696775
[06:44:01] [debug] ESP+000002a0: 00000000 fed618a8 0a25829c 00000007
[06:44:01] [debug] ESP+000002c0: 0a2582a8 00000007 00000009 fed61790
[06:44:01] [debug] ESP+000002e0: fed61770 fed618a8 080a07e6 0a258298
[06:44:01] [debug] ESP+00000300: 00000000 00000000 0a256c88 0000000b
[06:44:01] [debug] ESP+00000320: 00000001 0000000b fed617a0 08159c36
[06:44:01] [debug] ESP+00000340: fed61780 fed617a0 00000000 0a25829c
[06:44:01] [debug] ESP+00000360: 00000101 fed618d8 0809fc87 73726576
[06:44:01] [debug] ESP+00000380: 00000000 00000000 00000000 67756c70
[06:44:01] [debug] ESP+000003a0: 00000000 00000000 00000000 f5896420
[06:44:01] [debug] ESP+000003c0: f589644c 00000000 f584d4e0 00000000
[06:44:01] [debug] ESP+000003e0: 00000010 f5896420 f5760c29 00000000
[06:44:01] [debug] Loaded modules:
[06:44:01] [debug] 00000000 - 00187f43 sampsvr-port_153
[06:44:01] [debug] f5aa6000 - f5aa650c linux-gate.so.1
[06:44:01] [debug] f5a94000 - f5a9681b /lib/i386-linux-gnu/i686/cmov/libdl.so.2
[06:44:01] [debug] f5a78000 - f5a92d2b /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
[06:44:01] [debug] f58fd000 - f5a80bb3 /usr/lib32/libstdc++.so.6
[06:44:01] [debug] f58b7000 - f58fbb43 /lib/i386-linux-gnu/i686/cmov/libm.so.6
[06:44:01] [debug] f589a000 - f58b63c4 /lib/i386-linux-gnu/libgcc_s.so.1
[06:44:01] [debug] f56ed000 - f58a222f /lib/i386-linux-gnu/i686/cmov/libc.so.6
[06:44:01] [debug] f5aa5000 - f5ac5d6c /lib/ld-linux.so.2
[06:44:01] [debug] f56a6000 - f56e8ac4 plugins/crashdetect.so
[06:44:01] [debug] f55d0000 - f56a67f0 plugins/streamer.so
[06:44:01] [debug] f55be000 - f55c509f /lib/i386-linux-gnu/i686/cmov/librt.so.1
[06:44:01] [debug] f536f000 - f55be676 plugins/mysql_static.so
[06:44:01] [debug] f5163000 - f516e3ef /lib/i386-linux-gnu/i686/cmov/libnss_files.so.2
[06:44:01] [debug] f5157000 - f5160918 plugins/whirlpool.so
[06:44:01] [debug] f5147000 - f5156458 plugins/sscanf.so
[06:44:01] [debug] f5101000 - f5146654 plugins/GeoIP_Plugin.so

[PEDIDO] Sistema de portão

$
0
0
Olá, estou procurando um sistema de portão editável pelo próprio player, igual ao Play Shox e o Play Start tem, ja procurei por toda a internet e nada! Se alguem tiver por favor!

Actor VirtualWorld Problem

$
0
0
Hi, when the virtual world number is 0, the character looks, but when we put a place actor, the actor does not appear because of the virtual world number.

When I enter Checkpoint, I try to make the virtual world number of the user and the virtual world number of the actor the same.

Store Checkpoint Code: - 22 Line / I tried to do it like

https://hastebin.com/afapugivih.cpp

Robbery İnc:

https://hastebin.com/uhezenedad.cpp

I try to make the actor number the same as the virtual world number when I enter the store

Note: Sorry, my bad english

Script generated RGBA > hexadecimal?

$
0
0
Basically what I need, is some kind of a function which calculates a RGBA code into a hexadecimal one, to be used in the script. (Say for example the PlayerTextDrawBoxColor function.)

Further clarification:
PHP Code:

CalculateHEX(RGBA/* returns a hexadecimal value. */ 

If that even makes any sense.

How to create a top dmg per round?

$
0
0
Hello, is there someone who can explain to me how to do a top damage per round?

I use the variable: PlayerInfo [playerid] [RDmg]

What I want to do is that every time a round ends, it shows the 3 players that did the most damage, this I want it to appear in the chat, something like in A / D.

I hope I can count on your help, thanks all those watching my post.

password ?

$
0
0
Hello, I want to know how to write code to filter only enlish+number password can login.

example how to work


if password is: gdfsdจขจครบยรีั่่เ่้ัีะ55889
so, it not only english or english+number kick player when login

if password is:
hdsd55889900
this is ok.


please help, thanks

[UG:MP] Liberty City • Vice City • San Andreas ---► Underground Roleplay

$
0
0


WHAT IS UNDERGROUND MULTIPLAYER?

Underground Multiplayer or for short UG:MP is a modified version of SA:MP 0.3.7 (NOT THE DL VERSION) that allows the usage of assets from GTA: Underground in SA:MP with extra natives and features.


WHAT IS UNDERGROUND ROLEPLAY?



Underground Roleplay is the upcoming Heavy Roleplay Server that allows you to roleplay across all 3D Universe GTA Maps (LC, VC, and SA)


WHAT ELSE CAN I DO IN UG-RP?



Not that only you can roleplay in new cities, you'll have a mindblowing arsenal of new weapons, vehicles and skins to use; and yes, vehicles and weapons have custom sound, animation, and handling.
The new content you can use are rigged from GTA III, VC, LCS, and VCS and are customized to have a better quality to keep up with GTA SA's atmosphere.

ECONOMY AND ROLEPLAY



In UG-RP everything is immersive, you are the economy and the roleplay, players can affect how the economy works per state, whether it's the prices, laws or regulations; there is no way to grind the server for money, just like real life, you have to use your brain to earn yourself good amount of money, how you do it is up to you. And like I mentioned earlier, Roleplay type is Heavy.

FACTIONS AND GANGS



There are many factions you can become a part of, from VCPD to LSFD, along with FBI, Coast Guard and Homeland Security. You can also create your own faction and business, as well as gangs

CUSTOM ANIMATIONS


Video Preview #1 • Video Preview #2 • Video Preview #3 • Video Preview #4

One of the features provided by UG:MP, custom animations, now you have more than 200 new animations at your disposal to enhance your roleplay experience, animations contain many new actions, such as cinematic (cutscene-styled) animations, new walking, idle, stance, etc...

EXTRA FEATURES



Attention to detail matters a lot on UG-RP, here are some key features:

* Each state has its own unique set of drugs and vehicles *
* There is a coin system in the currency for a more detailed economy *
* UG-RP opens the gates for import/export businesses *
* You can customize your character by changing their hairstyle and many new clothing items *
* Each state has it's own government, laws, and economy *
* There are various cellphones to choose from, depending on your budget *
* Vehicles have functioning odometer (mileage), battery, etc... and need to be serviced by mechanics once in a while *
* Vehicle customization is not limited to visuals and object attachments, you can actually improve your vehicle's performance. *
* You can customize your RV or Trailer vehicle's interior *
* Drugs have addiction, using them too often and you have to head over to the Rehab *
* Drugs have purity *

And the list goes on...


JOIN OUR DISCORD TO KEEP UP WITH THE DEVELOPMENT

http://discord.io/ugrp

Player Total Online time help

$
0
0
Hi guys :)

You know every admin fliterscripts save player total online time in the format of hours, minutes and seconds.
Can anyone help me to make it as it saves player total online time in the format of years, months, days, hours, minutes and seconds.

Help Me Please guys who watching this post.

Thank you.

anti money cheat

$
0
0
I had problems with money hacking on my server so I created server sided money.

I wanted the client money to be same as the server sided money because it's displayed on screen.
I have put this on OnPlayerUpdate callback.
PHP Code:

ResetPlayerMoney(playerid); GivePlayerMoney(playeridPlayerInfo[playerid][Cash]); 

The problem is that every ~ 30 seconds the money goes down then comes back. What do I do?

MySQL (error #2002) problem.

$
0
0
Tried to run a MySQL server. I'm getting this error.
MySQL Log:
HTML Code:

[11:02:33] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
[11:02:33] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
[11:02:33] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
[11:02:33] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

Server Log:

HTML Code:

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

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

[11:02:32] filterscripts = ""  (string)
[11:02:32]
[11:02:32] Server Plugins
[11:02:32] --------------
[11:02:32]  Loading plugin: crashdetect.so
[11:02:32]  CrashDetect v4.18.1 is OK.
[11:02:32]  Loaded.
[11:02:32]  Loading plugin: mysql.so
[11:02:32]  Failed (libmysqlclient_r.so.16: cannot open shared object file: No such file or directory)
[11:02:32]  Loading plugin: mysql_static.so
[11:02:32]  >> plugin.mysql: R37 successfully loaded.
[11:02:32]  Loaded.
[11:02:32]  Loading plugin: dc_cmd.so
[11:02:32]  Daniel's CMD plugin v2.8
[11:02:32]    (c) 2014 Daniel_Cortez
[11:02:32]        www.pro-pawn.ru
[11:02:32]  Loaded.
[11:02:32]  Loading plugin: regex.so
[11:02:32]

[11:02:32] ______________________________________

[11:02:32]  Regular Expression Plugin v0.2.1 loaded
[11:02:32] ______________________________________

[11:02:32]  By: Fro (c) Copyright <TBG> 2009-2011
[11:02:32] ______________________________________

[11:02:32]  Loaded.
[11:02:32]  Loading plugin: SKY.so
[11:02:32]  Loaded.
[11:02:32]  Loading plugin: sscanf.so
[11:02:32]

[11:02:32]  ===============================

[11:02:32]      sscanf plugin loaded.   

[11:02:32]          Version:  2.8.1       

[11:02:32]    (c) 2012 Alex "Y_Less" Cole 

[11:02:32]  ===============================

[11:02:32]  Loaded.
[11:02:32]  Loading plugin: streamer.so
[11:02:32]

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

[11:02:32]  Loaded.
[11:02:32]  Loaded 7 plugins.

[11:02:33]
[11:02:33] Filterscripts
[11:02:33] ---------------
[11:02:33]  Loaded 0 filterscripts.

[11:02:33] -> Подключиться к базе не удалось (In english "The connection to the database failed")
[11:02:33] Number of vehicle models: 94

Call of Duty - World War IV [Hosted Tab]

$
0
0

Call of Duty - World War IV [RE OPEN]


Introduction:
The World War IV was officially founded by Droxx before few months, but was closed due to IRL issues
We just opened the server for one month and it got than 50+ playerbase daily, Which was a great
achievement for us to get early players within the first month, and the server is now opened again, As the
Development team is now back active again



Server Information:
Server IP: 91.121.223.142:8800
Website: samp-cod.com
Discord: https://discord.gg/dU9XWP7
Hosted Tab: Yes.

We are currently looking for : Helpers l Mapppers



Server Features:
- New login and register system with Email support (forgot password)
- 7 Teams, 6 Classes
- Rank system
- Advance capture zone system with good looking textdraws
- New Team / Class selection!
- Player LIVE stats textdraw
- Custom textdraw menu for weapons and inventory shops
- Amazing Inventory system (/inv)
- Airstrike system, call an airstrike anywhere with /as
- Carepackage system, call a carepack anywhere with /carepack
- Weapon drop system (objects drop)
- /Dropgun command
- Duel system with custom weapon choice and bet (weapons textdraw menu)
- Anti spawnkill protection system with countdown textdraws
- Team balance system, Using array sorting function
- Custom spawn weapons feature (/weapons [1-3])
- Protection Helmet (avoid headshot)
- Gas Mask (avoid tear gas effect)
- Instant class and team switch (/sc, /st)
- Instant spawn switch (/ss)
- Help dialog (/help)
- Player synchronize option (/sync anytime)
- Anti base rape
- Anti team attack
- Anti team jack
- Weapon spree system
- Tear gas effects (cough)
- Weapon drop on death
- Spawn protection for 10 seconds
- Restriction for vehicles
- Prototype vehicle system
- Zone bonuses
- Capture zone textdraws
- VIP System and Chat
- Personal weapons (/weapons, /resetweapon)
- Team radio
- Admin team commands
- Donor commands
- Helper Status system (/ask) helpr can (/answer)
- Rappeling system only for pilot class
- Achievements System
- Anticheat system
- Dynamic object system (for admins only)





We will be hosting events this week and giveaway score for two days.

Best Regards.

sscanf unregistered help

$
0
0
4:31:50] Error: Function not registered: 'mysql_format'
[14:31:50] Error: Function not registered: 'mysql_tquery'
[14:31:50] Error: Function not registered: 'CreateDynamicObject'
[14:31:50] Error: Function not registered: 'IsValidDynamicObject'
[14:31:50] Error: Function not registered: 'Streamer_GetArrayData'
[14:31:50] Error: Function not registered: 'Streamer_SetArrayData'
[14:31:50] Error: Function not registered: 'MoveDynamicObject'
[14:31:50] Error: Function not registered: 'Streamer_GetUpperBound'
[14:31:50] Error: Function not registered: 'Streamer_GetFloatData'
[14:31:50] Error: Function not registered: 'SetDynamicObjectRot'
[14:31:50] Error: Function not registered: 'DestroyDynamicObject'
[14:31:50] Error: Function not registered: 'DestroyDynamic3DTextLabel'
[14:31:50] Error: Function not registered: 'DestroyDynamicPickup'
[14:31:50] Error: Function not registered: 'IsValidDynamic3DTextLabel'
[14:31:50] Error: Function not registered: 'CreateDynamic3DTextLabel'
[14:31:50] Error: Function not registered: 'Streamer_GetIntData'
[14:31:50] Error: Function not registered: 'CreateDynamicPickup'
[14:31:50] Error: Function not registered: 'AttachDynamicObjectToVehicle'
[14:31:50] Error: Function not registered: 'DestroyDynamicArea'
[14:31:50] Error: Function not registered: 'CreateDynamicRectangle'
[14:31:50] Error: Function not registered: 'IsPlayerInDynamicArea'
[14:31:50] Error: Function not registered: 'DestroyDynamicMapIcon'
[14:31:50] Error: Function not registered: 'CreateDynamicMapIcon'
[14:31:50] Error: Function not registered: 'GetDynamicObjectPos'
[14:31:50] Error: Function not registered: 'mysql_unprocessed_queries'
[14:31:50] Error: Function not registered: 'UpdateDynamic3DTextLabelText'
[14:31:50] Error: Function not registered: 'cache_get_row_count'
[14:31:50] Error: Function not registered: 'cache_get_field_content'
[14:31:50] Error: Function not registered: 'cache_get_field_content_int'
[14:31:50] Error: Function not registered: 'cache_get_row_int'
[14:31:50] Error: Function not registered: 'GetDynamicObjectRot'
[14:31:50] Error: Function not registered: 'cache_get_field_content_float'
[14:31:50] Error: Function not registered: 'cache_get_row'
[14:31:50] Error: Function not registered: 'cache_insert_id'
[14:31:50] Error: Function not registered: 'EditDynamicObject'
[14:31:50] Error: Function not registered: 'mysql_connect'
[14:31:50] Error: Function not registered: 'mysql_errno'
[14:31:50] Error: Function not registered: 'Streamer_SetVisibleItems'
[14:31:50] Error: Function not registered: 'Streamer_TickRate'
[14:31:50] Error: Function not registered: 'SetDynamicObjectMaterial'
[14:31:50] Error: Function not registered: 'SetDynamicObjectMaterialText'
[14:31:50] Error: Function not registered: 'mysql_close'
[14:31:50] Error: Function not registered: 'Streamer_ToggleIdleUpdate'
[14:31:50] Error: Function not registered: 'IsValidDynamicPickup'
[14:31:50] Error: Function not registered: 'WP_Hash'
[14:31:50] Script[gamemodes/LLRPDec.amx]: Run time error 19: "File or function is not found"
[14:31:50] Number of vehicle models: 0

OnPlayerPickup

$
0
0
helllo, i have an quest when i have created an dynamicobject, and i want when a player pickup object send a message and delete object, where i can put this? at onplayerpickupdynamicpickup or at onplayerpickuppickup, it's an dynamic object help me

sqlite

$
0
0
i m working on dynamic checkpoint system but i dont know how to make using sqlite
help me here i did this much
PHP Code:

#define MAX_CHECKPOINTS 1000
enum cpinfo
{
 
CP_ID,
 
CP_INTERIOR,
 
CP_WORLD,
 
FloatCP_X,
 
FloatCP_Y,
 
FloatCP_Z,
 
FloatCP_SIZE,
 
FloatCP_DISTANCE,
};
new 
Checkpoint[MAX_CHECKPOINTS][cpinfo]; 

how can i make it in sqlite so it starts savin please help

Modern Freeroam » Stunt/Gangs/DM/Minigames/PUBG

$
0
0
Modern Freeroam » Stunt/Gangs/DM/Minigames/PUBG

A server of thousands of opportunities.



Server IP: 94.23.255.30:7777
Discord Channel: https://discord.gg/Scxez9G
Server Website: http://tms-samp.com/


Short introduction:

Modern Freeroam [MF] is a new and up-and-coming stunt server with tons of features for players to enjoy. We offer minigames such as Cops & Robbers, racing, derby and challenges like skydive, NRG and BMX challenges, just to name a few. Our forum is powered by vBulletin and our website provides plenty of information about the community itself. Along with the extensive game script, our helpful staff team will always strive to provide the best possible playing experience for all the players online.

Minigames:

This subsection will provide a short overview of all the minigames our server has to offer.

Derby (/derby): Compete on a set of 9 unique and different destruction derby maps, each with its own special vehicle. Ram other players, knock them off or destroy their vehicles, be the last one standing and win the day!
Race (/race): Race against other players through 8 tracks divided up into checkpoints and be the first one to reach the last checkpoint to win. All the players who finish in places 1-5 are rewarded with appropriate amounts of money and score.
CNR (/cnr): The traditional Cops & Robbers minigame. Each team is divided into classes players can play as. The Robbers team consists of the Robbers and Pro Robbers classes, while the Cops team consists of the Cops, Army and SWAT (VIP-only) classes. Each class differs in weapons and skins it uses. Robbers' objective is to wreak havoc and rob various stores around Las Venturas, while the Cops are there to stop and arrest (or kill) them. Careful hunting!
Pubg (/Pubg): Its the same as the "PlayerUnknown's Battlegrounds" game but used for samp, u'll start with a parachute in the sky, search for weapons and gear, and fight to the death, you should stay in the safe zone otherwise once u leave the bleu zone u'll start loosing health.
Fallout (/fallout): Be the last man standing on a platform consisting of tiles which fall one after another. Make sure to find a stable tile to stand on each time to keep yourself alive.
Gungame (/gg): A leveled minigame, this one brings your deathmatch skills to the test. Start off with a silenced pistol and progress through various weapons by killing other players. Each kill rewards you with a new weapon, replacing the previous one. Be the first one to kill another with the Desert Eagle and win!
Team Deathmatch (/tdm): Battle your way as a member of Spetsnaz or Rangers through 6 maps specifically designed with team vs. team combat in mind. Kill as many members of the other team as you can and lead your team to victory!

Challenges

This subsection will provide an overview of all the special challenges on the server, finishing which rewards players with money and score.

Skydive (/skydive1-/skydive7): Test your agility and responsiveness in the intense Skydive challenges. Grab a parachute, jump and avoid the obstacles on your way to the finish checkpoint.
Bike Challenge (/bikec): Navigate your bike through a set of traps and challenging ramps and jumps to the finish line.
BMX Challenges (/bmx and /bmx2): Bunny hop your way to the top.
Hayclimb (/hayclimb): Climb many, many haystacks to reach the final checkpoint.
NRG (/nrg): A challenge highly similar to the Bike Challenge. Use your NRG to test your biking abilities and reach the top of the map.
Infernus Paradise (/ip, /ip2, /ip3 and /ip4): TrackMania-inspired challenges that test your skills with loops, long jumps and daring wallrides.

Deathmatch

This subsection will introduce you to various deathmatch arenas on our server.

Deathmatch Arena #1 (/dm): Located on the Las Venturas Bandits Stadium, in this arena your Sawn-Off Shotgun and Desert Eagle skills will be put to the test.
Deathmatch Arena #2 (/dm2): This one is located in the Bayside Marina. Desert Eagle, Pump Shotgun and Sniper are the weapons used.
Deathmatch Arena #3 (/dm3): You will be throwing grenades and evading chainsaws left and right in the Greenglass College courtyard.
Deathmatch Arena #4 (/dm4): K.A.C.C. Military Fuels does not serve only as a refinery.
Deathmatch Arena #5 (/dm5): Located in Foster Valley which gave you the ability to test your deagle, Combat-shotgun.
Sawnoff DM (/sawn): This arena is also located on the Bandits stadium, with Sawn-Off being the only weapon available for use. Bring your best 2x2 game.
Rocket DM (/rocket): Rocket Launcher is the go-to weapon here, though it's not the only thing that can kill you in this arena.
Sniper DM (/sniper): This name is just as self-explanatory as the one for Rocket DM. A deathmatch arena on a custom map with sniper being the only weapon usable.
War (/war): An unrestricted deathmatch arena. Fight your way through Area 51, find a Rhino, Hydra or a Hunter and dominate the battlefield!
Minigun (/mini): A deathmatch which allow you to use a minigun in.
Major features

This subsection will list most of the major server features that fall into the miscellaneous categories.

Toys (/o): Toys can be used to personalize your skin entirely to your liking. Various objects from the game files and SA-MP addons have been added and can be used as toys (i.e. shades, hats, guns etc.).
Radio streams (/radio): Various radio stations that span across 8 genres have been picked by our administrators and can be played by anyone on the server. You can also start your own custom stream, provided it's in a .pls or .mp3 format.
Maps: Along with the many challenges, our server is home to plenty of unique stunt zones, fun maps, jumps and more. You can also enhance your stunting experience with the usage of SpeedBoost (/sb) and Super Jump (/sj).
Achievements (/ach): We have implemented a unique achievement system, setting goals for players to reach as they play. There is a grand total of 35 achievements spanned over 11 different categories for players to achieve.
Gangs: Players can join or create gangs. Gangs can engage in gang warfare with one another, with over 40 zones to capture across the entire state of San Andreas. Ranks can be assigned to other members within a gang, and with advancement come more commands and features for players to discover. It is entirely up to you whether you will join the best or become the best.
VIP system (/vip): Players who contribute to the server through donations are given the VIP status. VIP players are given access to plenty of special features and commands, few of which are spawning a Jetpack, changing their chat color and receiving access to special areas and vehicles.
Admin Control Panel: This is one of the website features, rather than in-game features. It gives admins an extensive view of the entire community, with plenty of other features to it.

Video

Take a look at some of the things mentioned above in this promotional video.

Server Promotional Video:
https://www.youtube.com/watch?v=kWXy...ature=youtu.be

Final remarks

We are a small, but an ambitious community. Our server is undergoing constant development and improvement under the teamwork of the entire community. If you were to ask us why you should choose us over any other stunt server, this would be our answer.

Some good Role Play Servers

$
0
0
So i have been playing HZRP for like 2 years... Umar Malik as Level 34.... Im just looking to find a good fresh RP servers
Viewing all 18226 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>