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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 6,637
» Latest member: Daniil Korochansky
» Forum threads: 2,475
» Forum posts: 12,523

Full Statistics

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

Latest Threads
GTA-MULIPLAYER.CZ
Forum: Advertisements
Last Post: xInVinCiBlE
1 hour ago
» Replies: 0
» Views: 5
SS7CMD v1.0.0
Forum: Libraries
Last Post: Saints7
Yesterday, 11:57 AM
» Replies: 2
» Views: 129
open.mp Dashboard
Forum: Chat
Last Post: Xyranaut
Yesterday, 11:52 AM
» Replies: 8
» Views: 348
Gametext styles
Forum: Russian/Русский
Last Post: Nexius
Yesterday, 11:19 AM
» Replies: 2
» Views: 2,545
CZ CNR cops and robbers
Forum: Advertisements
Last Post: Mhmd m
Yesterday, 11:01 AM
» Replies: 0
» Views: 35
MySQL for open.mp
Forum: Plugins
Last Post: Xyranaut
2026-06-01, 09:17 PM
» Replies: 0
» Views: 79
Hosted tab in 2023
Forum: General Discussions
Last Post: Mhmd m
2026-06-01, 06:38 PM
» Replies: 7
» Views: 11,683
FCNPC for open.mp
Forum: Pawn Scripting
Last Post: Nexius
2026-06-01, 12:59 PM
» Replies: 8
» Views: 8,302
pawnobots for openmp
Forum: Pawn Scripting
Last Post: Nexius
2026-06-01, 12:57 PM
» Replies: 1
» Views: 178
Busco mapeador para servi...
Forum: Programación
Last Post: Nikolay_Staggs
2026-05-31, 03:20 PM
» Replies: 0
» Views: 53

 
  What is ColAndreas for?
Posted by: Boxi - 2021-04-07, 01:39 PM - Forum: Pawn Scripting - Replies (3)

I've seen it, on several sites. But I don't know what it is or what it's for, its description on GitHub doesn't tell me much. Does anyone know? thanks!


  [SOLVED] kick a player when the client different version connects
Posted by: PutuSuhartawan - 2021-04-07, 05:31 AM - Forum: Pawn Scripting - Replies (1)

public OnPlayerConnect(playerid)

{

? ? new

? ? ? ? string[24];

? ? GetPlayerVersion(playerid, string, sizeof(string));

? ? format(string, sizeof(string), "Your version of SA-MP: %s", string);

? ? SendClientMessage(playerid, 0xFFFFFFFF, string);

? ? // possible text: "Your version of SA-MP: 0.3.7"

? ? return 1;

}






what next?


  FIlterscript not loading on my gamemode
Posted by: CrypticSin - 2021-04-06, 11:56 PM - Forum: Pawn Scripting - No Replies

Hello, i'm using a zombie ai filterscript and it seems to be working perfectly fine on a the default game modes like bare.pwn but the filterscript does not work on my custom gamemode..



I've compiled my code and i get no errors/warnings, although according to my research it's something got to do with mysql.



I've got mysql setup for login/register and im still unsure why the NPC's do not appear.



I've added IsPlayerNPC script to public OnDialogResponse just before the login but the NPC's still dont show up. Although i know they are in the game because i can give weapon to them, so they do exist it's jsut i cant see them for some odd reason.



I've been told to write a script to check if there is an NPC on connect, but im unsure of doing that so any help would be appreciated.



Thanks


  Sasinosoft Houses 2.0 (Legacy / Won't Fix)
Posted by: Sasino97 - 2021-04-06, 11:00 PM - Forum: Filterscripts - No Replies

Since the SA-MP Forums are gone, I'm re-publishing?my 2012 housing script here as some people may need it and can't find it.



Features:

- Ownable houses

- Ownable businesses

- Purchase furniture

- House storage (money and weapons)

- Sell house to the bank (not to players)



Github


  CreateDynamic3DTextLabel doesn't appear on the server.
Posted by: Axitz - 2021-04-06, 09:49 AM - Forum: Pawn Scripting - Replies (2)

My label doesn't appear on the server, any idea why?





PHP Code:
enum FInfo {

.

.

.

Text3D:HQLabel











PHP Code:
LoadFactions() {

for(new 
0MAX_FACTIONS!= li)

{

? ? 
FactionInfo[i][FActive] = false;

? ? 

? ? new 
iMessage[256], iFormat[128];

format(iFormatsizeof(iFormat), "Faction HQ"); strcat(iMessageiFormat);

FactionInfo[i][HQLabel] = CreateDynamic3DTextLabel(iMessage0xFFFFFFFFFactionInfo[i][fenter_x], FactionInfo[i][fenter_y], FactionInfo[i][fenter_z].320.0); // Yeah Ok

}



  What climatic conditions do you prefer a SAMP server to have?
Posted by: Boxi - 2021-04-05, 10:13 PM - Forum: General Discussions - Replies (2)

Hello everyone, I wanted to ask you what weather conditions you prefer for a roleplay server, many have only one which is a clear day. But the question is if you would like to play in a more changeable weather such as: rain, fog, sandstorms, etc. Your opinion will serve me too much. Thank you!


  Start the engine of an npc?
Posted by: Boxi - 2021-04-05, 09:52 PM - Forum: Pawn Scripting - Replies (3)

Hello everyone! well I have the following problem, and is that I already installed helicopter as npc and appears in the game normally, but the engine is not on, I did the following to try to turn it on but it does not work any idea? thanks c:



Code:
helicoptero1 = AddStaticVehicle(487,-2102.1294,-2237.8005,30.6250,142.4440,0,137);

? ?

GetVehicleParamsEx(helicoptero1,engine, lights, alarm, doors, bonnet, boot, objective);

SetVehicleParamsEx(helicoptero1, VEHICLE_PARAMS_ON, engine, lights, alarm, bonnet, boot, objective);


  Script is taking opposite value.
Posted by: Axitz - 2021-04-05, 01:23 PM - Forum: Pawn Scripting - Replies (1)

Hi again,

When I tried to get the nearest unlocked house, it shows unknown command but when I closed the house, it does work but it was opposite of what I want.

Command I make to test the system

PHP Code:
COMMAND:testhouse(playeridparams[])
{
? ? 
//GetClosestHouse
? ? new iClosest GetClosestHouse(playerid);
SetPlayerCheckpoint(playeridHouse[iClosest][House_x], House[iClosest][House_y], House[iClosest][House_z], 3.0);
SendClientInfo(playerid"Marker set to the closest house.");
return 
1;


Function
PHP Code:
stock GetClosestHouse(playerid)
{
new
? ? 
cl_ID = -1,
Float:cl_DIST 9999.0;

for(new 
i=1l=MAX_HOUSES!= li)
{
? ? if(
House[i][locked] != 1) continue;
if( 
GetPlayerDistanceToPointEx(playeridHouse[i][House_x],? House[i][House_y], House[i][House_z]) < cl_DIST )
{
? ? 
cl_ID i;
? ? 
cl_DIST GetPlayerDistanceToPointEx(playeridHouse[i][House_x],House[i][House_y],House[i][House_z]);
}
}
return 
cl_ID;


  Skins won't get changed.
Posted by: Axitz - 2021-04-05, 05:37 AM - Forum: Pawn Scripting - Replies (4)

Hi,

I'm not sure whats wrong with it. I tried multiple ways to fix this problem but it keep sending me same messages.
It compiled without errors and warnings.

Whenever this system trigged on my server, it keep changing the skin to CJ skins not the one I set in [FSkins1].

PHP Code:
if(PlayerInfo[playerid][playerteam] == faction1 || PlayerInfo[playerid][playerteam] == faction2)
{
? ? ? ? ? ? ?new 
teami maskid[playerid];
? ? ? ? ? ? 
SetPlayerTeam(playeridteami);
? ? ? ? ? ? 
playerwarinv[playerid] = 1;
? ? ? ? ? ? 
inv_timer[playerid] = SetTimerEx("killinv"179000false"i"playerid);
? ? ? ? ? ? if(
iTier != FactionInfo[playerid][FSkin1])
? ? ? ? ? ? {
? ? ? ? ? ? ? ? ?
//new warskin = FactionInfo[playerid][FSkin1];
                 
SendClientError(playerid"Your skin has been changed because you don't have current faction ones.");
? ? ? ? ? ? ? ? ?
SetPlayerSkin(playeridFactionInfo[playerid][FSkin1]);
? ? ? ? ? ? ? ? ?
PlayerInfo[playerid][Skin] = FactionInfo[playerid][FSkin1];
? ? ? ? ? ? ?}


  [FIXED] What is Meaning udb_hash ?
Posted by: PutuSuhartawan - 2021-04-05, 02:25 AM - Forum: Pawn Scripting - Replies (1)

stock udb_hash(buf[]) {
 
   new length=strlen(buf);
 
   new s1 1;
 
   new s2 0;
 
   new n;
 
   for (n=0n<lengthn++)
 
   {
 
      s1 = (s1 buf[n]) % 65521;
 
      s2 = (s2 s1    65521;
 
   }
 
   return (s2 << 16) + s1;