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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 6,654
» Latest member: Sebastianx
» Forum threads: 2,484
» Forum posts: 12,536

Full Statistics

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

Latest Threads
🎮 [91.134.166.72:5555] Jo...
Forum: Advertisements
Last Post: tokofridonashvili_01
11 hours ago
» Replies: 0
» Views: 16
Project San Andreas Rolep...
Forum: Advertisements
Last Post: Artysh
Yesterday, 04:08 PM
» Replies: 0
» Views: 18
Qawno for macOS — native ...
Forum: Releases
Last Post: DrVandersexxx
Yesterday, 09:57 AM
» Replies: 1
» Views: 91
[Release] Spawn — IDE for...
Forum: Programming
Last Post: Daniil Korochansky
2026-06-13, 08:35 PM
» Replies: 0
» Views: 31
Proiecte care asteapta Op...
Forum: Romanian/Română
Last Post: ionuzcostin
2026-06-13, 07:55 PM
» Replies: 14
» Views: 28,952
Streets Of Vice Roleplay ...
Forum: Advertisements
Last Post: BazMartin
2026-06-13, 07:50 PM
» Replies: 0
» Views: 33
[VoiceChat] omp-voice
Forum: Plugins
Last Post: ionuzcostin
2026-06-13, 06:15 PM
» Replies: 0
» Views: 29
discord unban appeal - pa...
Forum: Chat
Last Post: PanizFazel
2026-06-13, 01:28 AM
» Replies: 0
» Views: 51
open.mp Dashboard
Forum: Chat
Last Post: Nexius
2026-06-11, 01:22 PM
» Replies: 9
» Views: 704
[SERVER] San Andreas Mult...
Forum: Advertisements
Last Post: tokofridonashvili
2026-06-11, 09:50 AM
» Replies: 0
» Views: 68

 
  Error: No est?s cerca de un basurero/container
Posted by: Chessy - 2021-04-27, 06:31 AM - Forum: Programación - Replies (4)

(nos? porqu? se espacia as? ed horrible autom?ticamente el post).



Hola, resulta que estoy desarrollando un sistema de basureros, los cuales se puede ver el contenido con un comando llamado /verbasura.







Hace un ratito estaba funcionando bien, no s? si es porque es las 3 de la ma?ana y tengo brain lagging o el error no es l?gico.







Cuesti?n, ocupo este comando /verbasura al lado del container y me dice, no est?s cerca de un container







Me pregunt? si el rango de operaci?n del comando era muy corto, le agrand? m?s, fui a la db, ocup? las coordenadas exactas que se guardaron al ser creado (porque son din?micos) y ni as?.







Este es el comando:







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



{



new success;





for (new e = 1; e < MAX_CONTAINERS; e)





{



if(IsPlayerInRangeOfPoint(playerid,5,containerInfo[e][cX], containerInfo[e][cY], containerInfo[e][cZ]))



{





success;



if(GetPVarInt(playerid,"ESPOSADO"))



{



ErrorM(playerid, "Est?s esposado, no puedes hacer esto en este momento.");



return 1;

}



MostrarBasura(playerid, e);





return 1;





}





}



if(!success) ErrorM(playerid, "No est?s cerca de un basurero/container.");





SetPVarInt(playerid, "caflood", GetTickCount());





return 1;





}



Me dir?s, ah, debe ser porque



Code:
containerInfo[e][cX], containerInfo[e][cY], containerInfo[e][cZ]



Son valores vac?os, tienen un 0. Y no, porque se ocupan para crear el objeto y el label flotante arriba del contenedor...



?Puede ser porque la funci?n mostrarbasura genere error (trat? de descartarlo con la variable success)? (No hay errores en mysql.log [Est? en modo ALL] / error.log / warnings.log / server_log.txt)


  How does one make a top5 ranking?
Posted by: Z3fRaN - 2021-04-26, 11:04 PM - Forum: Pawn Scripting - Replies (2)

I don't have the idea of how to make a top 5 ranking, like top 5 killers of the server, what do I need to do in order to script something like that?


  Help! How to make a Marine Submarine System Moveable in the Sea with w a s d control?
Posted by: PutuSuhartawan - 2021-04-25, 08:49 PM - Forum: Pawn Scripting - Replies (2)

I first created a ship and made the dynamic object move. But I have a question, how can ships or objects be controlled again using the keyboard? like driving a vehicle in general?


  how to make a casino system?
Posted by: Boxi - 2021-04-25, 07:12 PM - Forum: Pawn Scripting - Replies (2)

Hello to all forum friends, I have a question, do you know how I can make the casino games that brings the default gta in the story mode? the card game, the swallow coins, roulette, or similar things, is it possible? greetings!


  Frames
Posted by: Nightmare - 2021-04-25, 05:30 PM - Forum: Pawn Scripting - Replies (1)

what function i get the players's?FPS?


  Array index out of bounds
Posted by: Z3fRaN - 2021-04-25, 02:09 AM - Forum: Pawn Scripting - Replies (2)

trying to create server sided vehicles

Code:
enum vInfo

{

vehicletype,

Float:vx,

Float:vy,

Float:vz,

Float:rotation,

vcolor1,

vcolor2,

respawn_delay,

addsiren=0

}



new VehicleInfo[MAX_VEHICLES][vInfo];



stock CreateVehicleEx(modelid, Float:x, Float:y, Float:z, Float:z_rotation, color1, color2, vrespawn_delay, vaddsiren=0)

{

new vehicle;

vehicle = CreateVehicle(vehicletype, Float:x, Float:y, Float:z, Float:rotation, color1, color2, respawn_delay, addsiren);

VehicleInfo[vehicle][vehicletype] = modelid;

VehicleInfo[vehicle][vx] = x; -?Array index out of bounds at variable "vehicleinfo"

VehicleInfo[vehicle][vy] = y; -?Array index out of bounds at variable "vehicleinfo"

VehicleInfo[vehicle][vz] = z;?-?Array index out of bounds at variable "vehicleinfo"

VehicleInfo[vehicle][rotation] = z_rotation; -?Array index out of bounds at variable "vehicleinfo"

VehicleInfo[vehicle][vcolor1] = color1;?-?Array index out of bounds at variable "vehicleinfo"

VehicleInfo[vehicle][vcolor2] = color2;??-?Array index out of bounds at variable "vehicleinfo"

VehicleInfo[vehicle][respawn_delay] = vrespawn_delay; -?Array index out of bounds at variable "vehicleinfo"

VehicleInfo[vehicle][addsiren] = vaddsiren;?-?Array index out of bounds at variable "vehicleinfo"

return 1;

}


  4 digit code with leads
Posted by: McZulian - 2021-04-25, 12:12 AM - Forum: Pawn Scripting - Replies (1)

What i'm trying to say is this:
I'm doing a 4 digit code password and you can try to guess it.
For example: The password is 1563
And i try to guess it and try: 6593
The server tells me what numbers i got right: X5X3

I don't know how to do this comparison that can output which numbers are right


  Help! How to make an auto aiming feature towards other characters with fuction stock?
Posted by: PutuSuhartawan - 2021-04-24, 05:39 PM - Forum: Pawn Scripting - Replies (3)

How to make an auto aiming feature towards other characters with the help of the stock function that you know??



I see that many people find it difficult to make their characters automatically point to the faces of the characters near them around the draw station because they don't understand the function or stock that makes the leader's angle of this character look at each other?


  Anti Silent Aimbot (Johnny Project Fix)
Posted by: Hata - 2021-04-24, 03:14 PM - Forum: Filterscripts - Replies (2)

Hello all of you, i'm new to the burger shot platform and wanted to share a cheat i fixed with you.

Code:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
    if (hittype == BULLET_HIT_TYPE_PLAYER)
    {
        new
            Float:fOriginX, Float:fOriginY, Float:fOriginZ,
            Float:fHitPosX, Float:fHitPosY, Float:fHitPosZ;

        GetPlayerLastShotVectors(playerid, fOriginX, fOriginY, fOriginZ, fHitPosX, fHitPosY, fHitPosZ);
        new Float:BulletDistanceForHit = GetPlayerDistanceFromPoint(hitid, fHitPosX, fHitPosY, fHitPosZ);
        if (BulletDistanceForHit == 0 && (weaponid > 21 && weaponid != 35 && weaponid != 42 && weaponid < 47))
        {
            return 0; //It prevents the bullet from reaching the target player.
        }
    }
}


  Deleted.
Posted by: Hata - 2021-04-24, 11:14 AM - Forum: Pawn Scripting - No Replies

Deleted.