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

[Off] Hosted com VPS

$
0
0
Gostaria de saber se é possível uma pessoa ter Hosted tendo uma VPS. Se sim, como?

[Ajuda] Servidor não fica online VPS Linux Centos

$
0
0
Eu estou tentando configurar meu servidor na VPS Linux Centos, digitei o comando:

Code:

nohup ./samp03svr &
Aparece essa mensagem:

Code:

nohup: ignoring input and appending output to ‘nohup.out’
E o servidor não liga, alguém sabe o que pode ser?

[Ajuda] Sobre Domínios...

$
0
0
Tava querendo comprar um domínio .com.br ai tava vasculhando o Fórum SAMP e vi um cara falar que se for usar porta 7777 pode usar .com.br agora se for diferente a porta, tem que ser .com isso procede?

Failed querying the server (OGP)

ROBOT IN SAMP!?

$
0
0
I represent my work,







Comments? 8)???

Liberty, Vice city maps

$
0
0
@Kalcor, Where did these maps go ? Does this have anything to do with the last problems on the team? ???

[Ajuda] Duvida sobre otimização

$
0
0
Primeiro ex.:
PHP Code:

    if(strcmp(cmd"/ir"true)==0)
    {
        
tmp strtok(cmdtextidx);

        if(!
strlen(tmp))
            return 
SendClientMessage(playeridErro"| ERRO | Digite: /Ir [ID do(a) Jogador(a)]");

        
id strval(tmp);

        new 
String[128];
        
GetPlayerPos(idXYZ);
        
SetPlayerPos(playeridXYZ);
        
SetPlayerInterior(playeridGetPlayerInterior(id));
        
format(Stringsizeof(String), "| VB-Admin | O(A) %s %s[%d] veio até sua posição"CargoAdmin(playerid), PlayerName(playerid), playerid);
        
SendClientMessage(idadmString);
        
format(Stringsizeof(String), "| VB-Admin | Você foi até a posição do jogador(a) %s[%d]"PlayerName(id), id);
        
SendClientMessage(playeridadmString);
        return 
1;
    } 

Segundo ex.:
PHP Code:

    if(strcmp(cmd"/ir"true)==0)
    {
        
tmp strtok(cmdtextidx);

        if(!
strlentmp ))
            return 
SendClientMessage(playeridErro"| ERRO | Digite: /Ir [ID do(a) Jogador(a)]");

        
id strvaltmp );

        
GetPlayerPos(idXYZ);
        
SetPlayerPos(playeridXYZ);
        
SetPlayerInterior(playeridGetPlayerInterior(id));

        new 
String[128];
        
format(Stringsizeof(String), "| VB-Admin | O(A) %s %s[%d] veio até sua posição"CargoAdmin(playerid), PlayerName(playerid), playerid);
        
SendClientMessage(idadmString);

        
format(Stringsizeof(String), "| VB-Admin | Você foi até a posição do jogador(a) %s[%d]"PlayerName(id), id);
        
SendClientMessage(playeridadmString);
        return 
1;
    } 

• Então não sei se perceberam, mas o primeiro exemplo não esta "organizado", já o segundo esta. Quando é compilado e o arquivo vira .Amx o segundo exemplo interfere na otimização ?

[Ajuda] concessonaria

$
0
0
Alguem pode me ajudar a como posso fazer um sistema de concessonaria daqueles os carros ja estao criados e ao entrar neles aparece a dialog "voce deseja comprar esse veiculo?" Alguem me ajuda?

[Ajuda] Comando determinado horario

$
0
0
Olá galera do forum, bom eu queria saber como faço pra mim utilizar um comando depois de terminado horario, vou ser mais breve, Eu quero que o meu comando fique bloqueado, depois de um certo horario ele é liberado para os players usar entenderam, oque posso usar pra fazer esse bloqueio dei uma pesquisada mais não encontrei nada que me ajudou!

[Tutorial] Vídeo Aulas Pawn - [2019]

$
0
0
Fala galera, vou ta iniciando essas vídeo aulas de Pawn mais pra compartilhar meu conhecimento, e aprender também, estou fazendo mais por hobby mesmo, era algo que eu queria fazer a muito tempo muito tempo, verás a data do canal e foi nessa época, enfim.

Sobre a explicação, vai ser de fácil entendimento, de todas as partes, e sempre explicando o que faz e o que acontecerá no código.


Aulas
Code:

01. Mouse Over/Hover


Conteúdo totalmente gratuito, com tudo que foi usado nas aulas estará tudo na descrição dos videos.

[timerfix.plugin] cannot execute callback

$
0
0
My codes:
pawn Code:
OnGameModeInit:

SetTimer("SendRandomMessage", 3*60000, true);
RandomMessage_Order = 0;
//------------------------------------
Callback:

forward SendRandomMessage();
public SendRandomMessage()
{
    SendClientMessageToAll(0xFAAC58FF, RandomMessage_[RandomMessage_Order]);
    RandomMessage_Order++;
    if(RandomMessage_Order > sizeof(RandomMessage_))
    {
         RandomMessage_Order = 0;
    }
    return 1;
}

Problem:
pawn Code:
[14:35:55] [debug] Run time error 4: "Array index out of bounds"
[14:35:55] [debug]  Attempted to read/write array element at index 16 in array of size 16
[14:35:55] [debug] AMX backtrace:
[14:35:55] [debug] #0 0012af64 in public SendRandomMessage () in GameMode.amx
[14:35:55] [timerfix.plugin] cannot execute callback with name "SendRandomMessage"

Vehicle positions

$
0
0
Hello, when I try to log off save one position on the whole car I have.



https://pastebin.com/Sh5Gf1j8

#define MAX_OWNED_VEHICLES 5
new playerCar[MAX_PLAYERS][MAX_OWNED_VEHICLES];

Using:

OnGameModeExit

savePlayerCar ( p, playerCar[p][0]) ;
savePlayerCar ( p, playerCar[p][1]) ;

OnPlayerDisconnect

savePlayerCar ( playerid, playerCar[playerid][0]) ;
savePlayerCar ( playerid, playerCar[playerid][1]) ;

Attached Images
File Type: jpg fix pawno.jpg (96.7 KB)

What happened to icons?

$
0
0
Hey, please help me, I'm running a fr rp server in which there is not even a single icon in it but each cmd is working perfectly..I can't see the icons in my windows server but i can see it in host server.

What happend to partyserver?

$
0
0
What happend to partyserver? The server is down fully now, what did happend to one of the best servers out there?

samp freezes

$
0
0
well i do freeze in each secs, once i log in and so on.
i have tried to re-install it, opening new user and so on, nothing work.
specs
gtx 1080
i5-8500

Distance.

$
0
0
How to measure a distance between a point, correctly ?

Code:

IsPlayerInRangeOfPoint(...., ....., X,Y,Z)) return SCM(...., ...., " You must be withing x meters of point.

[Ajuda] streamer

$
0
0
Streamer Plugin: CreateDynamicObject: Expecting 12 parameter(s), but found 14

Eu ligo a gamemode só da esse erro
OBS:Já coloquei a streamer mas recente recomendada 2.9.4
ajudem pls

About RP script

$
0
0
Hi This is Avinash ,who is crazy on being as server manager and do everything with professinal
I was hiring All needed pro's for my server and i just found developer but i still looking on Beautiful mappers and scripter ,and also looking for good RP script, Will be paid good as long as the prices are not crazy high ,

Looking for some one who can maintain script related to server and to keep all updates when ever needed>>>>>.


Scripter will be getting CUSTOM TAG in IG and Rare Car, Any admin Rank According to their ability (But not guaranteed admin rank , just assistance and we will provide rank accordingy)

Thank you understanding,
We will be looking forward for your kind answer ,
You can also PM me
Email me :aviator.avinash@outlook.com
Discord ;Jagan Sardar#0457

[Ajuda] Transferência de Arquivos [Linux]

$
0
0
Alguém sabe como eu faço para transferir os arquivos de uma VPS para a Outra sem precisar eu baixar eles? Parece que pelo Filezilla não da ;-;

Moved server from linux to windows, caused everybody to look like afk

$
0
0
I had a local host machine running linux. It broek down so i had to move it to my own pc. When i start the server everything seems to be working, commands, actions literally everything. EXCEPT we see eachother as afk now and we dont move at all on each others screens.

It is on local network and we connect from lan using same router, which didnt cause anything before, why would it do that now?

I have checked OnPlayerUpdate, there is no heavy script inside it and it never returns 0.

Even if it was heavy a shitty 1990's pc can run the server but a new model pc can't run it? It would be funny.

I installed crashdetect, Nothing. a huge nothing it shows as crashing.

I have no idea what would be the case, im open to any idea which do not make me re-do what i already tried in every way i can as i listed.
Viewing all 18226 articles
Browse latest View live


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