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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,652
» Latest member: remus
» Forum threads: 2,346
» Forum posts: 12,287

Full Statistics

Online Users
There are currently 189 online users.
» 0 Member(s) | 187 Guest(s)
Bing, Google

Latest Threads
Ultimate Roleplay!!
Forum: Advertisements
Last Post: URP_Wrzosek
4 hours ago
» Replies: 2
» Views: 38
samp openmp scripts
Forum: German/Deutsch
Last Post: pauli
2025-11-01, 01:21 AM
» Replies: 0
» Views: 49
YGG-Reborn
Forum: Advertisements
Last Post: Mw10
2025-10-31, 08:12 AM
» Replies: 0
» Views: 55
[GameMode] Brasil Vida Id...
Forum: Portuguese/Portugu?s
Last Post: Brasil Vida Ideal
2025-10-31, 01:12 AM
» Replies: 0
» Views: 44
Grand Gang War (GGW)
Forum: Advertisements
Last Post: coladaciren
2025-10-30, 10:00 AM
» Replies: 0
» Views: 45
undefined symbol
Forum: Portuguese/Portugu?s
Last Post: leobradoks
2025-10-25, 08:58 PM
» Replies: 1
» Views: 1,616
SA:MP Custom Character Li...
Forum: General Discussions
Last Post: Dilshad
2025-10-22, 04:15 PM
» Replies: 0
» Views: 95
Anyone got old rp scripts...
Forum: General Discussions
Last Post: Bilal
2025-10-21, 01:02 PM
» Replies: 5
» Views: 5,325
Anyone has the SARP Gamem...
Forum: Gamemodes
Last Post: Bilal
2025-10-21, 12:59 PM
» Replies: 0
» Views: 159
SARP Gamemode
Forum: Releases
Last Post: Bilal
2025-10-21, 12:58 PM
» Replies: 0
» Views: 101

 
  CTime Help
Posted by: israel_Oliveira - 2021-04-27, 03:01 PM - Forum: Pawn Scripting - No Replies

I'm not able to load the plugin on windows, what are the dependencies?





crashdetect



Code:
[11:54:45] Run time error 19: "File or function is not found"



[11:54:45]? localtime

[11:54:45]? strftime





Loading plugin: CTime



? Failed.



Script[gamemodes/BPG.amx]: Run time error 19: "File or function is not found"


  How to hide PedSlotUsed (F5)
Posted by: annety - 2021-04-27, 08:50 AM - Forum: Pawn Scripting - Replies (3)

Everybody in my server uses that?PedSlotUsed in my survivor server as a hack, to know if there is anybody around...

I would like to hide this information, there is any way?


  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?