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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,607
» Latest member: gmpat7970
» Forum threads: 2,334
» Forum posts: 12,262

Full Statistics

Online Users
There are currently 221 online users.
» 0 Member(s) | 218 Guest(s)
Bing, Google, Applebot

Latest Threads
Original Godfather
Forum: Pawn Scripting
Last Post: NmE
Yesterday, 08:35 PM
» Replies: 0
» Views: 19
Tierra Robada Roleplay [E...
Forum: Advertisements
Last Post: Vicee
Yesterday, 04:00 PM
» Replies: 0
» Views: 25
City of Grand RP
Forum: Advertisements
Last Post: KaidoSancho
Yesterday, 03:49 PM
» Replies: 0
» Views: 16
RevolutionX DM/Stunt/Race...
Forum: Advertisements
Last Post: DerekZ905
Yesterday, 09:02 AM
» Replies: 0
» Views: 41
Problem with MAP. Please ...
Forum: Pawn Scripting
Last Post: hoshimitsu
2025-10-12, 06:39 AM
» Replies: 0
» Views: 38
I get since compiler and ...
Forum: Pawn Scripting
Last Post: pauli
2025-10-11, 03:29 PM
» Replies: 0
» Views: 44
SA-MP: Map Construction
Forum: General Discussions
Last Post: king599
2025-10-11, 12:56 AM
» Replies: 1
» Views: 3,839
AntyCheat System [SA-MP/O...
Forum: Filterscripts
Last Post: ingxavier05
2025-10-10, 06:53 PM
» Replies: 8
» Views: 13,404
PROJECT: LAS VENTURAS
Forum: Advertisements
Last Post: Avine96
2025-10-09, 11:16 PM
» Replies: 0
» Views: 63
[HELP] Back to Pawn Scrip...
Forum: Pawn Scripting
Last Post: king599
2025-10-09, 04:59 AM
» Replies: 1
» Views: 72

 
  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.