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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,255
» Latest member: bcat777net
» Forum threads: 2,379
» Forum posts: 12,293

Full Statistics

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

Latest Threads
Open.mp / SAMP Query
Forum: Releases
Last Post: laex
2 hours ago
» Replies: 2
» Views: 21
some text appearing in my...
Forum: Support
Last Post: Sizy
Yesterday, 07:33 AM
» Replies: 0
» Views: 10
Offensive-Core: TDM
Forum: Gamemodes
Last Post: NikitaFoxze
Yesterday, 12:13 AM
» Replies: 3
» Views: 3,638
Second Generation Rolepla...
Forum: Advertisements
Last Post: JamesT
2025-07-06, 10:28 AM
» Replies: 0
» Views: 32
Servidor RPG profissões
Forum: Advertisements
Last Post: tcharlesmeurer
2025-07-05, 11:35 PM
» Replies: 0
» Views: 27
EVO Anti-Cheat
Forum: Libraries
Last Post: Eduardo_AC
2025-07-05, 11:05 PM
» Replies: 2
» Views: 68
Developer for Hire – Syst...
Forum: Pawn Scripting
Last Post: ejtamovic
2025-07-04, 08:35 AM
» Replies: 0
» Views: 55
Liberty City map
Forum: Pawn Scripting
Last Post: ziyadprogamer
2025-06-28, 04:55 PM
» Replies: 2
» Views: 2,199
GameText styles in open.m...
Forum: Pawn Scripting
Last Post: Miki
2025-06-28, 01:25 PM
» Replies: 1
» Views: 69
Script[gamemodes/gamemode...
Forum: Pawn Scripting
Last Post: Miki
2025-06-27, 05:08 PM
» Replies: 1
» Views: 445

 
  Mobile Crash
Posted by: z0rdan - 2021-03-31, 11:14 AM - Forum: Pawn Scripting - Replies (1)

Guys, recently I have noticed that all players Cell phones are crashing my server, sometimes even on the login screen, riding in a car and etc ...

does anyone know what it can be?


  [ FIXED ] cache_get_value_int_ovrld after add for on index SQL
Posted by: PutuSuhartawan - 2021-03-31, 09:39 AM - Forum: Pawn Scripting - No Replies

FIXED





Quote:Retrieves a value from the result set as a decimal number.



Parameters:





Code:
(row_idx, const column_name[], &destination)



row_idx The row index (starts at '0').



const column_name[] The column name.

&destination The variable to store the number into.



Return Values:



1 on success, 0 on failure.







Code:
new int_dest;

cache_get_value_name_int(2, "money", int_dest);

printf("The value in the third row and in the column 'money' is '%d'.", int_dest);



https://github.com/pBlueG/SA-MP-MySQL/wi...e_name_int



[Image: 113122179-f40fb180-9245-11eb-8125-e2117c09945a.png]


  San Andreas Battle Royale Server For Sale
Posted by: San Andreas Battle Royale - 2021-03-30, 02:12 PM - Forum: General Discussions - Replies (1)

[Image: logo.png?width=490&height=431]



Our esteemed project is now for sale, reason being unavailability from the management team to carry on with the project, but we hope that someone else will be able to.?



What our project includes:



- A functioning Battle Royale?script that includes a storm, inventory system, and much more!

- Over 300 exclusive?custom mods, such as skins and other assets. (Needs to be implemented in the script)

- Over 50 custom mapped locations around the area of Red County (Needs script implementation)

- A 4 minutes amazing trailer/promotional video for the server.

- A 650 members community eager for the server release on discord. (Was once 1000)



And much more!



Contact: First Class#0889 on discord if interested.



OUR TRAILER



Lightbulb [FIXED] how create new native functions can be suggested by the autotext system
Posted by: PutuSuhartawan - 2021-03-30, 11:17 AM - Forum: Pawn Scripting - Replies (1)

How do I create new native functions that can be suggested to the autotext system later? so far I can only walk with #define only.



FIXED



[ First Install the All Autocomplete - Packages - Package Control ]




[Image: 167018997_5565589703481329_5851269852517...e=6088143A]

[Image: 166749805_5565592510147715_7986765319724...e=60882027]


  Object Pos ..
Posted by: qtg998 - 2021-03-30, 08:03 AM - Forum: Pawn Scripting - Replies (1)

I am trying to get the coordinates 1.0 only to the right from the reference object. How do I do this..?



Please help me..


  Map icon does not change color
Posted by: Jhames - 2021-03-30, 06:12 AM - Forum: Pawn Scripting - Replies (1)

Hello guys, I have a little problem.



I am trying to change the color of an icon on the map but it is not working, I am trying to make the icon black, but it does not work.




Is the color correct? I'm using like this:?0x000000FF



Code:
public OnPlayerConnect(playerid)

{

? ? SetPlayerMapIcon(playerid, 1, 2756.7896,-2431.2869,13.4790, 2, 0x000000FF, MAPICON_GLOBAL);

? ? return 1;

}


  [MAP] BAYSIDE City Police Department
Posted by: Nahiri - 2021-03-30, 12:33 AM - Forum: Videos and Screenshots - Replies (4)

This is my latest work, check it out :D?https://imgur.com/a/WailQI5


  Not sure if my /kick works?
Posted by: CrypticSin - 2021-03-29, 09:32 PM - Forum: Pawn Scripting - Replies (4)

Hi i've written a admin command for /kick and im currently multi logging into my server to test it out.



Everything seems like it's working when i kick my 2nd character but, it doesn't actually kick the player even though the message comes up that?they've been kicked?



Could this be because im accessing the server on two different accounts with?the same PC and the same IP??



Or if a randomer from a different ip joined would it work??



Code:

PHP Code:
CMD:kick(playeridparams[])

{

? ? if(
PlayerInfo[playerid][pAdmin] < 1)

? ? return 
SCM(playeridCOLOR_RED"You are not allowed to use this command");



new 
playerbreason[24];

new 
fstr[200];

if(
sscanf(params"us[24]"playerbreason))

? ? return 
SCM(playeridCOLOR_RED"Usage: /kick [playerid/name] [reason]");

? ? 

? ? if(!
IsPlayerConnected(playerb))

return 
SendClientMessage(playeridCOLOR_RED"Player not found.");

? ? 

? ? if(
PlayerInfo[playerb][pAdmin] >= 1)

return 
SendClientMessage(playeridCOLOR_RED"You cant kick admins.");

? ? {

? ? ? ? 
format(fstrsizeof(fstr), "Admin %s (%d) has kicked %s [%d] from TWDZS - Reason: %s"ReturnName(playerid), playeridReturnName(playerb), playerbreason);

? ? ? ? 
SendClientMessageToAll(COLOR_REDfstr);

? ? ? ? 
PlayerInfo[playerb][pKicks] ;

? ? ? ? 
GameTextForPlayer(playerb"~r~Kicked"50005);

? ? ? ? 
format(fstrsizeof(fstr), "You have been kicked from TWDZS. You were kicked by admin %s."ReturnName(playerid));

? ? ? ? 
SendClientMessage(playerbCOLOR_REDfstr);

? ? ? ? 
SendClientMessage(playerbCOLOR_ORANGE"If you think this kick is unfair complain at www.domain.net");

? ? ? ? 
KickEx(playerb);

? ? }

? ? return 
true;



  Fps Problem
Posted by: Prcko69 - 2021-03-29, 08:49 PM - Forum: General Discussions - Replies (1)

Well, i have problems with fps drops..

I have pc strong enough to run GTA Sa on 60fps, but

When alot players are around me it drops to low 40

PC specs:

8GB ram

GT 440 graphics

i5 4570 processor

I tryed everything, every fps booster

nothing worked...

If anyone know how to fix it would be good for me :v


  Command not working
Posted by: Snow - 2021-03-29, 06:25 PM - Forum: Pawn Scripting - Replies (6)

Okay so I have this weird problem with this one specific command. When player performs this command, he gets teleported somewhere else instead of where he's supposed to. But I'm calling the same command under OnDialogResponse and it works fine there. Here's the command:

Code:
CMD:mc(playerid, params[])
{
? ? LoginCheck(playerid);
? ? SpawnCheck(playerid);
? ? IntCheck(playerid);

? ? if(!Permissions(playerid))
? ? return 1;

? ? SetCameraBehindPlayer(playerid);
? ? new RandomT = random(sizeof(mount));
? ? new Randomm = random(sizeof(mountv));

? ? if(IsPlayerInAnyVehicle(playerid))
? ? {
? ? ? ? SetVehiclePos(GetPlayerVehicleID(playerid), mountv[Randomm][0], mountv[Randomm][1], mountv[Randomm][2]);
? ? }
? ? else
? ? {
? ? ? ? SetPlayerPos(playerid, mount[RandomT][0], mount[RandomT][1], mount[RandomT][2]);
? ? }
? ? new string[128], name[24];
? ? GetPlayerName(playerid, name, 24);
? ? format(string, 128, "%s(%d) has teleported to Mount Chilliad (/mc).", name, playerid);
? ? SendClientMessageToAll(COLOR_TP, string);
? ? return 1;
}

Calling it under dialog response like this
Code:
if(listitem ==7)
? ? ? ? ? ? {
? ? ? ? ? ? cmd_mc(playerid, "");
? ? ? ? ? ? }

Now when player types the command manually, he won't get teleported to Mount Chilliad but when he uses the dialog that calls this command, he'll be teleported here.