SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 333
Search took 0.01 seconds.
Search: Posts Made By: DarkBr
Forum: SA-MP 0.3.DL 17/11/2018, 05:57 PM
Replies: 7
Views: 171
Posted By DarkBr
Re: Railway line

I thought of that later, it's easier to put the "tracks.dat" in the scriptfiles directory and read them and tweak them with sscanf, as you say.

It's quite tricky even to get a good object for it....
Forum: SA-MP 0.3.DL 17/11/2018, 04:37 PM
Replies: 7
Views: 171
Posted By DarkBr
Re: Railway line

I did some research and was able to detect the use of the files of rail in GTA

Grand Theft Auto/data/Paths

From what I saw: the first line serves to indicate the number of cordenades
and the...
Forum: SA-MP 0.3.DL 16/11/2018, 11:00 PM
Replies: 7
Views: 171
Posted By DarkBr
Re: Railway line

Thank you for clarifying my doubt.
Forum: SA-MP 0.3.DL 16/11/2018, 09:35 PM
Replies: 7
Views: 171
Posted By DarkBr
Question Railway line

Is it possible to recreate a kind of "train" with a random object that follows the same route as the San Andreas railway?
Forum: Everything and Nothing 16/11/2018, 08:51 PM
Replies: 6
Views: 135
Posted By DarkBr
Re: Samp map editor

SA:MP Map Edit: Show Code Copy All

put on

public OnGameModeInit (https://wiki.sa-mp.com/wiki/OnGameModeInit)()
{
CreateObject (https://wiki.sa-mp.com/wiki/CreateObject)(modelid, Float:X,...
Forum: Scripting Help 16/11/2018, 12:27 AM
Replies: 3
Views: 64
Posted By DarkBr
Re: Textdraw id?

LD_CHAT:goodcha

new Text:a;
a = TextDrawCreate(278.750000, 128.333404, "LD_CHAT:goodcha");
....
Forum: Scripting Help 10/11/2018, 11:54 PM
Replies: 4
Views: 113
Posted By DarkBr
Re: Random mission

public missionTimer()
{
if(!(1 <= mission <= 6))
{
new mss;
mss = random(2-1)+1;
switch(mss) {
case 1:
{
foreach(new i : Player)
Forum: Scripting Help 10/11/2018, 07:10 PM
Replies: 2
Views: 67
Posted By DarkBr
Re: Coordinates and Command?

You should use this:
SetCameraBehindPlayer (https://wiki.sa-mp.com/wiki/SetCameraBehindPlayer)(playerid);

Description:
Restore the camera to a place behind the player, after using a function...
Forum: Português/Portuguese 27/10/2018, 09:59 PM
Replies: 8
Views: 178
Posted By DarkBr
Re: Textdraw - Global

Deve ser pq é Global. Tente com PlayerTextdraw (https://wiki.sa-mp.com/wiki/CreatePlayerTextDraw)
Forum: Scripting Help 19/10/2018, 11:50 PM
Replies: 4
Views: 137
Posted By DarkBr
Re: Lower case detection.

new str[] = "Hello world";

if(!('A' <= str[0] <= 'Z'))
{
/*
<Lowercase>
But 'H' is uppercase, so here it will not be called
*/
}
Forum: Português/Portuguese 19/10/2018, 01:36 AM
Replies: 5
Views: 93
Posted By DarkBr
Re: Ajuda em um dialog

format(PlayerInfo[playerid][pSenha], sizeof PlayerInfo[playerid][pSenha], "%s", senha);
Forum: Português/Portuguese 15/10/2018, 10:06 PM
Replies: 15
Views: 645
Posted By DarkBr
Re: Talvez o melhor servidor rpg da história

Esse é o CVR ?
Foi o primeiro servidor que joguei quando instalei o samp pela primeira vez, foi muito confuso no começo mas realmente é um servidor marcante.
Forum: Português/Portuguese 14/10/2018, 10:04 PM
Replies: 3
[Ajuda] TimerConvert
Views: 116
Posted By DarkBr
Re: TimerConvert

1) Divide os segundos pelo tempo(60)
2) Pega o resto, no caso o que sobrou de minutos int multiplicado pelo tempo
Forum: Português/Portuguese 02/10/2018, 01:15 AM
Replies: 8
Views: 196
Posted By DarkBr
Re: Pegar nome de string variável

RankClass[playerid] = 1;

O parâmetro playerid não irá definir o status de acordo com o ID do jogador, será definido o 'nome' da patente, entretanto, haverá uma hora que que esse nome sera vazio,...
Forum: Scripting Help 01/10/2018, 01:47 AM
Replies: 7
Views: 232
Posted By DarkBr
Re: /admins problem...

Try..

CMD:admins(playerid,params[])
{
new estr[200], levelname[24], pname[24], posfile[50], jval, adminids=0;
for(new i=0, q=GetPlayerPoolSize( ); i<=q; i++)
{
...
Forum: Client Support 27/09/2018, 03:24 AM
Replies: 2
Views: 351
Posted By DarkBr
Re: Speak Spanish

I'm not sure, but it was because of attacks, I believe that was the reason
Forum: Scripting Help 23/09/2018, 12:26 AM
Replies: 6
Views: 303
Posted By DarkBr
Re: Random spawn coords in a gangzone

Maybe if you try to use the random () function with the minimum and maximum end of the X and Y positions
Forum: Português/Portuguese 26/06/2018, 02:06 AM
Replies: 16
Views: 645
Posted By DarkBr
Re: Qual é a melhor maneira de memorizar as coisas

O seu interesse determina o seu conhecimento.
Forum: Lançamentos/Releases 18/05/2018, 02:20 AM
Replies: 77
Views: 6,973
Posted By DarkBr
Re: SAMPHP - Escrever Gamemodes em PHP

Trabalho incrível. Parabéns!
Forum: Português/Portuguese 16/05/2018, 12:35 AM
Replies: 2
Views: 279
Posted By DarkBr
Re: /admins em dialog

Testa ai pra ver se funciona

if(strcmp(cmd, "/admins", true) == 0)
{
new count=0, strcmd[128], int_val, cargo[27], pstate[9], strdest[500];

for(new...
Forum: Português/Portuguese 14/05/2018, 03:42 AM
Replies: 8,836
Sticky: [Ajuda] Dúvidas Curtas #1
Views: 914,831
Posted By DarkBr
Forum: Português/Portuguese 13/05/2018, 10:56 PM
Replies: 8,836
Sticky: [Ajuda] Dúvidas Curtas #1
Views: 914,831
Posted By DarkBr
Re: Dúvidas Curtas #1

Pode mostrar? nunca vi algo assim.
Forum: Português/Portuguese 13/05/2018, 03:18 PM
Replies: 8,836
Sticky: [Ajuda] Dúvidas Curtas #1
Views: 914,831
Posted By DarkBr
Forum: Português/Portuguese 12/05/2018, 11:57 PM
Replies: 8,836
Sticky: [Ajuda] Dúvidas Curtas #1
Views: 914,831
Posted By DarkBr
Re: Dúvidas Curtas #1

Eu tenho funções semelhantes:
//float/int/negativo
asnumber(const string[]) {

new lenght=strlen(string);
for(new i=0; i <lenght; i++)
{
switch(string[i])
{
...
Forum: Português/Portuguese 12/05/2018, 10:26 PM
Replies: 8,836
Sticky: [Ajuda] Dúvidas Curtas #1
Views: 914,831
Posted By DarkBr
Re: Dúvidas Curtas #1

Ahh não sei como explicar, Eu queria poder obter os dados, seja lá float, string ou inteiro, partindo de um argumento da função.
Showing results 1 to 25 of 333

 

All times are GMT. The time now is 02:14 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.