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

[Off] Quais as coisas mais doidas que vocês ja viram em servidores?

$
0
0
Como diz no título, quais as coisas mais doidas que vocês ja viram em servidores?

Esse é mais um tópico pra descontração aqui na board PT-BR, é inútil eu sei, mas é uma boa proposta, pelo menos na minha concepção :v

A coisa mais doida que eu ja vi num servidor, foi quando um admin atirou no carro que eu tava dirigindo e o carro simplesmente voava, capotava, virava de lado, era doido jkkjjk

E vcs?

PickUp com Açao

$
0
0
Bom estava tentando colocar uma açao ao player passar no pickup mas acontece que ja compilou tudo certinho e
in-game passo no pickup e nao executa nenhuma açao...

Inicio da GM
PHP Code:

new Teste

GamemodeInit

PHP Code:

    Teste CreatePickup(123902837.4219,-2530.1016,18.0299); 

OnPlayerPickUpPickup
PHP Code:

public OnPlayerPickUpPickup(playeridpickupid)
{
    if(
pickupid == Teste)
    {
        
SetPlayerPos(playerid2837.5164,-2530.4460,33.8609);
    }
    return 
1;


Estou Fazendo algo errado ?

[Ajuda] Interpolate no Player

$
0
0
Como eu posso fazer um Interpolate Câmera rodar o jogador em 360° e também a câmera um pouco mais alto mirando para o jogador?

PHP Code:

new Float:Pos[3];
GetPlayerPos(playeridPos[0], Pos[1], Pos[2]);

/* 

Usar esse Pos[] para rodar no player, porém no interpolate eu não sei colocar para rodar...

*/

InterpolateCameraPos(playerid0.00.00.00.00.00.010000CAMERA_MOVE);
InterpolateCameraLookAt(playerid0.00.00.00.00.00.010000CAMERA_MOVE); 

Não sei mexer em câmera interpolate, ainda mais fazer isso :/

[Ajuda] - Warning 213: tag mismatch

$
0
0
Bom, o código que fiz.. funfa normalmente.. só que aparece esses warnings.. alguém pode me ajudar? Desde já, Agradeço. :)

Código:
Code:

(19752) : if(AreaPst == true  || AreaPst1 == true || AreaPst2 == true || AreaPst3 == true || AreaPst4 == true
(19753) : || AreaPst5 == true  || AreaPst6 == true || AreaPst7 == true || AreaPst8 == true
(19754 : || AreaPst9 == true || AreaPst10 == true || AreaPst11 == true || AreaPst12 == true || AreaPst13 == true
(19755) : || AreaPst14 == true || AreaPst15 == true){


Warnings:
Code:

(19752) : warning 213: tag mismatch
(19752) : warning 213: tag mismatch
(19752) : warning 213: tag mismatch
(19752) : warning 213: tag mismatch
(19753) : warning 213: tag mismatch
(19753) : warning 213: tag mismatch
(19753) : warning 213: tag mismatch
(19753) : warning 213: tag mismatch
(19754) : warning 213: tag mismatch
(19754) : warning 213: tag mismatch
(19754) : warning 213: tag mismatch
(19754) : warning 213: tag mismatch
(19754) : warning 213: tag mismatch
(19755) : warning 213: tag mismatch
(19755) : warning 213: tag mismatch
(19755) : warning 213: tag mismatch

[Ajuda] GM BASE!

$
0
0
Alguem me manda uma base de gm com o sistema de salvar contas?

[Ajuda] colocar em DOF2

$
0
0
Boa noite pra todo o mundo, eu ainda não entendo nada de MYSQL e estou fazendo meu servidor
à bastante tempo em DOF2 , então queria começar a aprender a linguagem MYSQL.
Será que alguém poderia passar este sistema pra DOF2 para eu começar a entender um pouco por favor?

PHP Code:

stock Garbage_Create(playeridtype)
{
    for (new 
0!= MAX_GARBAGE_BINS++) if (!GarbageData[i][garbageExists])
    {
        switch (
type)
        {
            case 
1GarbageData[i][garbageModel] = 1236; case 2GarbageData[i][garbageModel] = 1300;
        }
        
GarbageData[i][garbageExists] = true;
        
GarbageData[i][garbageCapacity] = 0;
        
GetPlayerPos(playeridGarbageData[i][garbagePos][0], GarbageData[i][garbagePos][1], GarbageData[i][garbagePos][2]);
        
GetPlayerFacingAngle(playeridGarbageData[i][garbagePos][3]);
        switch (
type)
        {
            case 
1:
            {
                
GarbageData[i][garbagePos][0] = GarbageData[i][garbagePos][0] + (1.8 floatsin(-GarbageData[i][garbagePos][3], degrees));
                
GarbageData[i][garbagePos][1] = GarbageData[i][garbagePos][1] + (1.8 floatcos(-GarbageData[i][garbagePos][3], degrees));
            }
            case 
2:
            {
                
GarbageData[i][garbagePos][0] = GarbageData[i][garbagePos][0] + (1.0 floatsin(-GarbageData[i][garbagePos][3], degrees));
                
GarbageData[i][garbagePos][1] = GarbageData[i][garbagePos][1] + (1.0 floatcos(-GarbageData[i][garbagePos][3], degrees));
            }
        }
        
GarbageData[i][garbageInterior] = GetPlayerInterior(playerid); GarbageData[i][garbageWorld] = GetPlayerVirtualWorld(playerid);
        
Garbage_Refresh(i);
        
mysql_tquery(g_iHandle"INSERT INTO `garbage` (`garbageCapacity`) VALUES(0)""OnGarbageCreated""d"i);
        return 
i;
    }
    return -
1;
}

stock Garbage_Delete(garbageid)
{
    if (
garbageid != -&& GarbageData[garbageid][garbageExists])
    {
        new 
string[64];
        
format(stringsizeof(string), "DELETE FROM `garbage` WHERE `garbageID` = '%d'"GarbageData[garbageid][garbageID]);
        
mysql_tquery(g_iHandlestring);
        if (
IsValidDynamic3DTextLabel(GarbageData[garbageid][garbageText3D])) DestroyDynamic3DTextLabel(GarbageData[garbageid][garbageText3D]);
        if (
IsValidDynamicObject(GarbageData[garbageid][garbageObject])) DestroyDynamicObject(GarbageData[garbageid][garbageObject]);
        
GarbageData[garbageid][garbageExists] = falseGarbageData[garbageid][garbageCapacity] = 0GarbageData[garbageid][garbageID] = 0;
    }
    return 
1;
}
stock Garbage_Save(garbageid)
{
    new 
query[300];
    
format(querysizeof(query), "UPDATE `garbage` SET `garbageModel` = '%d', `garbageCapacity` = '%d', `garbageX` = '%.4f', `garbageY` = '%.4f', `garbageZ` = '%.4f', `garbageA` = '%.4f', `garbageInterior` = '%d', `garbageWorld` = '%d' WHERE `garbageID` = '%d'",
        
GarbageData[garbageid][garbageModel],
        
GarbageData[garbageid][garbageCapacity],
        
GarbageData[garbageid][garbagePos][0],
        
GarbageData[garbageid][garbagePos][1],
        
GarbageData[garbageid][garbagePos][2],
        
GarbageData[garbageid][garbagePos][3],
        
GarbageData[garbageid][garbageInterior],
        
GarbageData[garbageid][garbageWorld],
        
GarbageData[garbageid][garbageID]
    );
    return 
mysql_tquery(g_iHandlequery);


[Map] Map For Deathmatch

$
0
0
This is 100% free map for use in your script !

Images ;

(1) https://imgur.com/a/c7SD0wE
(2) https://imgur.com/a/O6srnOD



: HERE IS SRCIPT OF MAP :

RemoveBuildingForPlayer(playerid, 3276, -449.7656, 2237.7422, 42.2109, 0.25);
RemoveBuildingForPlayer(playerid, 16410, -327.4922, 2218.4844, 43.3203, 0.25);
RemoveBuildingForPlayer(playerid, 3276, -454.2109, 2258.0234, 45.2734, 0.25);
RemoveBuildingForPlayer(playerid, 3276, -454.1094, 2246.6094, 42.1250, 0.25);
RemoveBuildingForPlayer(playerid, 3276, -455.9766, 2268.2891, 48.6875, 0.25);
RemoveBuildingForPlayer(playerid, 3276, -460.8984, 2278.3438, 53.1406, 0.25);
RemoveBuildingForPlayer(playerid, 3276, -466.9844, 2287.1641, 57.7500, 0.25);
RemoveBuildingForPlayer(playerid, 3276, -487.2266, 2299.4609, 63.6953, 0.25);
RemoveBuildingForPlayer(playerid, 3276, -477.3672, 2292.8125, 61.4375, 0.25);
CreateObject(16094, -389.74731, 2231.27905, 75.66940, 0.00000, 0.00000, 0.00000);
CreateObject(16094, -389.74731, 2231.27905, 41.36467, 0.00000, 0.00000, 0.00000);
CreateObject(16094, -389.74731, 2231.27905, 48.97540, 0.00000, 0.00000, 0.00000);
CreateObject(16094, -389.74731, 2231.27905, 56.70000, 0.00000, 0.00000, 0.00000);
CreateObject(16094, -389.74731, 2231.27905, 64.40210, 0.00000, 0.00000, 0.00000);
CreateObject(16094, -389.74731, 2231.27905, 71.77821, 0.00000, 0.00000, 0.00000);
CreateObject(2395, -484.12769, 2280.65820, 69.13033, 0.00000, 0.00000, 90.13760);
CreateObject(2395, -484.12769, 2280.65820, 60.34020, 0.00000, 0.00000, 90.13760);
CreateObject(2395, -484.12769, 2280.65820, 61.57166, 0.00000, 0.00000, 90.13760);
CreateObject(2395, -484.12769, 2280.65820, 67.60509, 0.00000, 0.00000, 90.13760);
CreateObject(16326, -426.02170, 2204.21460, 41.30390, 0.00000, 0.00000, 86.70780);
CreateObject(1506, -422.71759, 2201.29102, 41.06930, 0.00000, 0.00000, 86.45390);
CreateObject(3364, -314.97220, 2266.88428, 67.07200, 12.00000, 0.00000, 44.00000);
CreateObject(16406, -332.69800, 2181.78613, 49.34175, 0.00000, 0.00000, 355.04523);
CreateObject(11440, -386.65820, 2190.70459, 40.63600, 0.00000, 0.00000, 189.10570);
CreateObject(11440, -401.47440, 2275.56689, 39.68630, 2.00000, 0.00000, 98.00000);
CreateObject(16601, -376.78091, 2284.06299, 43.94940, 0.00000, 0.00000, 49.52170);
CreateObject(12986, -428.66281, 2270.34082, 42.76470, 0.00000, 0.00000, 1.84300);
CreateObject(16406, -457.83685, 2278.72314, 53.05347, 0.00000, 0.00000, 270.07526);
CreateObject(16406, -444.38791, 2292.42358, 51.22590, 0.00000, 0.00000, 349.42041);
CreateObject(11445, -473.98792, 2217.18042, 45.13070, 0.00000, 0.00000, 355.05020);
CreateObject(11442, -466.16281, 2231.10498, 42.81740, 0.00000, 0.00000, 355.43491);
CreateObject(11442, -467.23819, 2209.79175, 44.12640, 0.00000, 0.00000, 355.43491);
CreateObject(13367, -343.18359, 2271.79272, 56.94620, 0.00000, 0.00000, 58.17050);


This is Near militry base in Las ventures Deserts [END]


Wanna support click here username is Ahtisham on patreon

https://www.patreon.com/user

●●● Singleplayer features / Race / Gang war / QUB3D / BAWSAQ / Pool, basketball, poker, golf and other minigames ●●●

$
0
0
Server
Address: s2.gta-multiplayer.cz:7777

Description
- 100-250 online players and the playerbase is still expanding
- Professional and friendly admins and helpers who care for the players
- Unique server with many features you will not find on any other server!
- We have very effective anticheat to fight the cheaters

- Many features from singleplayer
- Pool, basketball and golf minigames
- Poker Texas Holdem minigame
- Video game QUB3D
- Custom made roulettes, slot machines, video poker and horse betting
- Stock market BAWSAQ
- Computer with webpages - Eyefind, Dynasty8, Krapea, Weazel News and more
- Phone from GTA 4 with a lot of useful features
- Missions - you can start missions from Big Smoke, Cesar, Madd Dogg, Tenpenny, Truth, Zero, Toreno or Woozie!
- Heists - many heists inspired by singleplayer or other GTA games
- Organizations - become CEO of organization or join organization and help running the business
- Cocaine lockups, weed farms, counterfeit chips factory and weapon lockups
- Gang wars over 100 gang hoods
- More than 30 unique jobs (including police, paramedic, firefighter, pimp, valet parking, pizza-boy and much more)
- Burglary missions
- Singleplayer races and other challenges
- Singleplayer driving schools
- Houses, garages, marinas, hangars or helipads to purchase
- Gyms, strip clubs, clothes shops, hidden packages, oysters, spray tags, horseshoes and much more

Trailer


Videos



















[Ajuda] Tela de login

$
0
0
Fiz a tela compilou td certo e mesmo assim fica na tela padrão do samp

Sa_Directx 2.0 for SA:MP. High, Medium, Low and Very low presets. Comparison.

[Ajuda] Fileira de veiculos?

$
0
0
Como faço pra criar uma fileira de veiculos ? Ex /criarveiculo, desejo criar mais uma sequencia de veiculos atras, qual a posição devo mexer? X ou Y? tentei os dois não deu certo

This can be possible? | Esto puede ser posible?

$
0
0
Hi, good morning. I have a question about the vehicles, I wanted to know if the following can be done.
Can I grab a car and have it move with a command to a certain point? (Without teleport) just drive. From already thank you very much.
------------------------------------------------------------------------------------------------------------------------------------
Hola muy buneas. tengo una duda con respecto a los vehiculos, queria saber si se puede hacer lo siguiente.
¿Puedo agarrar un auto y que con un comando se mueva a un punto determinado? (Sin teleport) solo que conduzca. Desde ya muchas gracias.

[Ajuda] Operação ternária

$
0
0
Galera, estou melhorando algumas funções de um sistema de rank bem antigo, e pra isso estou usando as funções ternária. Porém estou com esse erro abaixo, não sei oque está dando de errado

PHP Code:

C:\Users\Felipe\Desktop\RPGv2\gamemodes\BPC.pwn(80480) : error 036: empty statement
Pawn compiler 3.2.3664              Copyright 
(c1997-2016ITB CompuPhase


1 Error


Meu code;

PHP Code:

if(rQuantidade == ? (rankNome "Ninguem") : (rQuantidade 0)); 

Code Antigo.

PHP Code:

if(rQuantidade == 0)
{
      
rankNome "Ninguem";
      
rQuantidade 0;


Configuring Nginx to reverse-proxy SA-MP server

$
0
0
Hello,
I would like to know how can I configure Nginx to reverse-proxy SA-MP servers in Ubuntu 18.04.
Let's suppose I have 3 SA-MP Server instances running in the same computer; I would like them to be accessible all at the same port but with different names.

Example:
Code:

s1.name.com:7777 -> 100.90.80.70 -> Nginx cfg "s1.name.com" -> localhost:7777
s2.name.com:7777 -> 100.90.80.70 -> Nginx cfg "s2.name.com" -> localhost:7778
s3.name.com:7777 -> 100.90.80.70 -> Nginx cfg "s3.name.com" -> localhost:7779

Is it possible to do this? Thank you.

[Ajuda] Contar SetTimer

$
0
0
Tipo queria saber como dá pra contar o SetTimer tipo eu seto pro player morrer em 6s ai eu crio uma textdraw e aparece os segundos quando faltar, como faz?

MySQL not uploading data to my database, XAMPP

$
0
0
Hello, i am new to MySQL and i am testing a MySQL code for a SA-MP server.
I am using XAMPP and MySQL-R41-4 plugin.

The server connects successfully to database according to the console and there are no errors in server log. But when i try to upload information with a server command to an already created table in the database, it doesn´t upload at all.

This is the code:
PHP Code:

#include <a_samp>
#include <a_mysql>


// * Define connection credentials. */
#define MYSQL_HOST "localhost"  
#define MYSQL_USER "root"  
#define MYSQL_PASS ""  
#define MYSQL_DB   "sa-mp_blueprint"  

new MySQLOpt:my_options// Notice the "MySQLOpt" tag. 
new MySQL:db_handle;

main()
{
    print(
"\n---------------------------------------");
    print(
"Running MySQL_blueprint \n");
    print(
"---------------------------------------\n");
}

forward OnGameModeInit();
public 
OnGameModeInit()  
{  
    
/* Create a set of options and store the ID. */ 
    
my_options mysql_init_options();  

    
/* Define connection options for the created set. */ 
    
mysql_set_option(my_optionsAUTO_RECONNECTtrue);  
    
mysql_set_option(my_optionsMULTI_STATEMENTSfalse);  
    
mysql_set_option(my_optionsPOOL_SIZE2);  
    
mysql_set_option(my_optionsSERVER_PORT3306);  

    
/* Connect to the database using the defined credentials and options. */ 
    
mysql_connect(MYSQL_HOSTMYSQL_USERMYSQL_PASSMYSQL_DBmy_options);  
 
    
//mysql_errno(db_handle)
    
if(mysql_errno() !=0)
    {
      
printf("[MySQL]:Connection to database not sucessful");
    
    }
    else
    {
      
printf("[MySQL]:Connection to database sucessful");     

    }
    return 
1;

}  


public 
OnPlayerCommandText(playeridcmdtext[])
{
// it seems like ` and ' have the same function.
    
new stringq[60];
    new 
datainserted[15]= "carro volador?";
    new 
Float:a;
    
333.45 ;
 

    if (!
strcmp(cmdtext"/kill"true))
    {
    
SetPlayerHealth(playerid0);
    return 
1;
    
    
    }
    if (!
strcmp(cmdtext"/insertdata"true))
    {
    
mysql_format(db_handlestringqsizeof(stringq), "INSERT INTO `nube` (`name`, `password`) VALUES (%s, %d)""string test"1.345);
    
mysql_query(db_handlestringq);
   
    return 
1;
    
    
    }
    
    if (!
strcmp(cmdtext"/updatedata"true))
    {
    
mysql_format(db_handlestringqsizeof(stringq),"UPDATE `nube` SET `name` = %s, `password`= %d"datainserteda);
    
mysql_query(db_handlestringq);
 
    return 
1;
    
    
    }

    

    return 
0;
}

public 
OnGameModeExit()  
{  
    
//* - close the connection on exit. */  
    
if(db_handle)  
    {  
        
mysql_close(db_handle);  
    }  
    return 
1;  


I appreciate your help and thank you for helping SAMP keep growing and promoting gameplay fun.

The best samp rpg server IP: server.greenfieldrpg.net

[CreateDynamic3DTextLabel] Mixing Each Other

$
0
0
Hello, I have no explanation for this and I don't even know the reason for my lack of knowledge, so I hope someone can help me.

The problem is that some TextLabels are mixing, what was supposed to appear in one, appears in another, and so on, getting a total mess.

I did some research, but the most I found was using the streamer from Incognito, I believed I was using it, but I don't know if I'm sure about it.

Some codes that bug. OBS: I put only what is related to the tags for better viewing

STAFF Label
PHP Code:

new Text3D:staffTagText[MAX_PLAYERS];

ACMD:duty[1](playeridparams[])
{
    if(
IsPlayerOnAdminDuty(playerid))
    {
        
DestroyDynamic3DTextLabel(staffTagText[playerid]);
        
staffTagText[playerid] = Text3D:INVALID_3DTEXT_ID;
    }
    else
    {
        
staffTagText[playerid] = CreateDynamic3DTextLabel("STAFF"0x00ffffFF0.00.00.2500.0playerid);
    }
    return 
1;


PLAYER RANK Label
PHP Code:

new Text3D:playerScoreTag[MAX_PLAYERS];

hook OnPlayerLogin(playerid)
{
    
playerScoreTag[playerid] = CreateDynamic3DTextLabel("Sobrevivente"0xFFFFFFFF0.00.00.03playerid);
}

hook OnPlayerDisconnect(playeridreason)
{
    
DestroyDynamic3DTextLabel(playerScoreTag[playerid]);
    
playerScoreTag[playerid] = Text3D:INVALID_3DTEXT_ID;


CAR Label
PHP Code:

new Text3D:VehicleBlindagemTag[MAX_VEHICLES];

//Its called when a player put some item in the vehicle, works perfectly, but the tag mix.
AddVehicleBlindagem(veidqnt)
{
    
VehicleBlindagem[veid] = qnt;
    
Delete3DTextLabel(VehicleBlindagemTag[veid]);
    new 
str[100];
    
format(strsizeof(str), "Blindagem %i/500"VehicleBlindagem[veid]);
        
VehicleBlindagemTag[veid] = CreateDynamic3DTextLabel(str0xfcbe03FF0.00.00.05INVALID_PLAYER_IDveid);
}

hook OnGameModeExit()
{
    for(new 
0MAX_VEHICLESi++)
    {
        
DestroyDynamic3DTextLabel(VehicleBlindagemTag[i]);
        
VehicleBlindagemTag[i] = Text3D:INVALID_3DTEXT_ID;
    }


These are the 3 main TAGS on my server, and bug constantly exchanging with each other, if someone knows the reason and a solution, I would be very grateful.

[Ajuda] String em DOF2

$
0
0
Tava fazendo o meu sistema de org e da esses erros

C:\Users\AlanAlmeida\Desktop\16-06-2019 Brasil Diversão Virtual GM\gamemodes\BDV.pwn(21186) : error 047: array sizes do not match, or destination array is too small
C:\Users\AlanAlmeida\Desktop\16-06-2019 Brasil Diversão Virtual GM\gamemodes\BDV.pwn(21187) : error 047: array sizes do not match, or destination array is too small
C:\Users\AlanAlmeida\Desktop\16-06-2019 Brasil Diversão Virtual GM\gamemodes\BDV.pwn(21190) : error 047: array sizes do not match, or destination array is too small
C:\Users\AlanAlmeida\Desktop\16-06-2019 Brasil Diversão Virtual GM\gamemodes\BDV.pwn(21191) : error 047: array sizes do not match, or destination array is too small
C:\Users\AlanAlmeida\Desktop\16-06-2019 Brasil Diversão Virtual GM\gamemodes\BDV.pwn(21192) : error 047: array sizes do not match, or destination array is too small
C:\Users\AlanAlmeida\Desktop\16-06-2019 Brasil Diversão Virtual GM\gamemodes\BDV.pwn(21193) : error 047: array sizes do not match, or destination array is too small
C:\Users\AlanAlmeida\Desktop\16-06-2019 Brasil Diversão Virtual GM\gamemodes\BDV.pwn(21194) : error 047: array sizes do not match, or destination array is too small
C:\Users\AlanAlmeida\Desktop\16-06-2019 Brasil Diversão Virtual GM\gamemodes\BDV.pwn(21195) : error 047: array sizes do not match, or destination array is too small
C:\Users\AlanAlmeida\Desktop\16-06-2019 Brasil Diversão Virtual GM\gamemodes\BDV.pwn(21196) : error 047: array sizes do not match, or destination array is too small
C:\Users\AlanAlmeida\Desktop\16-06-2019 Brasil Diversão Virtual GM\gamemodes\BDV.pwn(21197) : error 047: array sizes do not match, or destination array is too small
C:\Users\AlanAlmeida\Desktop\16-06-2019 Brasil Diversão Virtual GM\gamemodes\BDV.pwn(21198) : error 047: array sizes do not match, or destination array is too small
C:\Users\AlanAlmeida\Desktop\16-06-2019 Brasil Diversão Virtual GM\gamemodes\BDV.pwn(21199) : error 047: array sizes do not match, or destination array is too small
C:\Users\AlanAlmeida\Desktop\16-06-2019 Brasil Diversão Virtual GM\gamemodes\BDV.pwn(21200) : error 047: array sizes do not match, or destination array is too small
C:\Users\AlanAlmeida\Desktop\16-06-2019 Brasil Diversão Virtual GM\gamemodes\BDV.pwn(21201) : error 047: array sizes do not match, or destination array is too small
C:\Users\AlanAlmeida\Desktop\16-06-2019 Brasil Diversão Virtual GM\gamemodes\BDV.pwn(21202) : error 047: array sizes do not match, or destination array is too small



pawn Code:
stock CarregarOrgs()
{
    new OrgFile[50];
    format(OrgFile, sizeof(OrgFile),"Organizacoes/Policia Civil.ini");
   
   
    Orgs[PoliciaCivil][Lider] = DOF2_GetString(OrgFile, "Lider");
    Orgs[PoliciaCivil][Sublider] = DOF2_GetString(OrgFile, "Sub Lider");
    Orgs[PoliciaCivil][Skin] = DOF2_GetInt(OrgFile, "Skin");
    Orgs[PoliciaCivil][Vagas] = DOF2_GetInt(OrgFile, "Vagas Totais");
    Orgs[PoliciaCivil][Vaga1] = DOF2_GetString(OrgFile, "Vaga 1");
    Orgs[PoliciaCivil][Vaga2] = DOF2_GetString(OrgFile, "Vaga 2");
    Orgs[PoliciaCivil][Vaga3] = DOF2_GetString(OrgFile, "Vaga 3");
    Orgs[PoliciaCivil][Vaga4] = DOF2_GetString(OrgFile, "Vaga 4");
    Orgs[PoliciaCivil][Vaga5] = DOF2_GetString(OrgFile, "Vaga 5");
    Orgs[PoliciaCivil][Vaga6] = DOF2_GetString(OrgFile, "Vaga 6");
    Orgs[PoliciaCivil][Vaga7] = DOF2_GetString(OrgFile, "Vaga 7");
    Orgs[PoliciaCivil][Vaga8] = DOF2_GetString(OrgFile, "Vaga 8");
    Orgs[PoliciaCivil][Cargo1] = DOF2_GetString(OrgFile, "Cargo 1");
    Orgs[PoliciaCivil][Cargo2] = DOF2_GetString(OrgFile, "Cargo 2");
    Orgs[PoliciaCivil][Cargo3] = DOF2_GetString(OrgFile, "Cargo 3");
    Orgs[PoliciaCivil][Cargo4] = DOF2_GetString(OrgFile, "Cargo 4");
    Orgs[PoliciaCivil][Cargo5] = DOF2_GetString(OrgFile, "Cargo 5");

    return 1;
}

Usei format mas dá isso:

PHP Code:

format(Orgs[PoliciaCivil][Lider], sizeof(Orgs[PoliciaCivil][Lider]), "%s"DOF2_GetString(OrgFile"Lider"));



C:\Users\AlanAlmeida\Desktop\16-06-2019 Brasil Diversão Virtual GM\gamemodes\BDV.pwn(21184) : error 001expected token"]"but found "-identifier-"
C:\Users\AlanAlmeida\Desktop\16-06-2019 Brasil Diversão Virtual GM\gamemodes\BDV.pwn(21184) : warning 215expression has no effect
C
:\Users\AlanAlmeida\Desktop\16-06-2019 Brasil Diversão Virtual GM\gamemodes\BDV.pwn(21184) : error 001expected token";"but found "]"
C:\Users\AlanAlmeida\Desktop\16-06-2019 Brasil Diversão Virtual GM\gamemodes\BDV.pwn(21184) : error 029invalid expressionassumed zero
C
:\Users\AlanAlmeida\Desktop\16-06-2019 Brasil Diversão Virtual GM\gamemodes\BDV.pwn(21184) : fatal error 107too many error messages on one line 

Maps from script files not loading

$
0
0
So most of my interiors are inside my scriptfiles inside that is a folder called RMRP and it holds a lot of mappings. My server logs say its loading but it's not. I go in-game and try to enter a interior and nothing loads.

Code:

[08:22:26] Loaded Mapfile: block-gates.ini - 0 Objects - WorldID: 0.
[08:22:26] Loaded Mapfile: pdgates.ini - 16 Objects - WorldID: 0.
[08:22:26] Loaded Mapfile: mapfix.ini - 6 Objects - WorldID: 0.
[08:22:26] Loaded Mapfile: hospital.ini - 1492 Objects - WorldID: 0.
[08:22:26] Loaded Mapfile: lspd.ini - 881 Objects - WorldID: 0.
[08:22:26] Loaded Mapfile: app2.ini - 267 Objects - WorldID: -1.
[08:22:26] Loaded Mapfile: app3.ini - 257 Objects - WorldID: -1.
[08:22:26] Loaded Mapfile: pdtr1.ini - 485 Objects - WorldID: 0.
[08:22:26] Loaded Mapfile: pdtr2.ini - 163 Objects - WorldID: 0.
[08:22:26] Loaded Mapfile: cityhall.ini - 295 Objects - WorldID: 1.
[08:22:26] Loaded Mapfile: bank.ini - 125 Objects - WorldID: 1.
[08:22:26] Loaded Mapfile: radio.ini - 322 Objects - WorldID: 0.
[08:22:26] Loaded Mapfile: news.ini - 235 Objects - WorldID: 1.
[08:22:26] Loaded Mapfile: sanext.ini - 9 Objects - WorldID: 0.
[08:22:26] Loaded Mapfile: idlefix.ini - 42 Objects - WorldID: 0.
[08:22:26] Loaded Mapfile: eastbeach.ini - 15 Objects - WorldID: -1.
[08:22:27] Loaded Mapfile: viceint.ini - 446 Objects - WorldID: -1.
[08:22:27] Loaded Mapfile: viceext.ini - 53 Objects - WorldID: 0.
[08:22:27] Loaded Mapfile: church.ini - 289 Objects - WorldID: 1.
[08:22:27] Loaded Mapfile: houseints.ini - 119 Objects - WorldID: -1.

Viewing all 18226 articles
Browse latest View live


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