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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,701
» Latest member: zein97174
» Forum threads: 2,356
» Forum posts: 12,303

Full Statistics

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

Latest Threads
Client issue with object
Forum: Support
Last Post: TheDoctor
2025-11-15, 08:00 PM
» Replies: 0
» Views: 48
San Andreas Police Pursui...
Forum: Advertisements
Last Post: BriBri
2025-11-15, 12:06 AM
» Replies: 0
» Views: 51
[Include] OpenGate (Abrir...
Forum: Portuguese/Portugu?s
Last Post: Crazy_ArKzX
2025-11-13, 06:49 PM
» Replies: 0
» Views: 43
OpenGate (Open Proximity ...
Forum: Libraries
Last Post: Crazy_ArKzX
2025-11-13, 06:46 PM
» Replies: 0
» Views: 53
LS City Hall
Forum: Maps
Last Post: cosminupgaming
2025-11-12, 04:22 PM
» Replies: 3
» Views: 2,679
Crime Base
Forum: Maps
Last Post: cosminupgaming
2025-11-12, 04:19 PM
» Replies: 2
» Views: 1,264
GTA SA-MP Scripting: Issu...
Forum: General Discussions
Last Post: williamrhein
2025-11-12, 10:16 AM
» Replies: 0
» Views: 66
is it worth creating a se...
Forum: General Discussions
Last Post: cosminupgaming
2025-11-11, 05:30 PM
» Replies: 13
» Views: 18,386
Looking for an English De...
Forum: General Discussions
Last Post: cosminupgaming
2025-11-11, 05:21 PM
» Replies: 2
» Views: 2,829
Awakeninga an old server.
Forum: Support
Last Post: drwnrbbt
2025-11-11, 02:26 PM
» Replies: 0
» Views: 62

 
  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.


  Message separator issue
Posted by: unix - 2021-04-24, 02:05 AM - Forum: Pawn Scripting - No Replies

Hello,



I am having an issue with the code below - it only works once for one player which has the ascending player id - for other it will just bug out and send out 2 dots ".." completely not doing the work as previously for the asc. player id.



Code:
stock SendMessageToPlayer(playerid, color, text[], len = 124)

{

new

? ? text2[ 256 ],

maxstring = 384;



if(strlen(text) > len)

{

? ? strmid(text2, text, len, maxstring);

? ? strdel(text, len, maxstring);

? ? strins(text, " ..", len, maxstring);

? ? strins(text2, ".. ", 0, maxstring);

? ? SendClientMessage(playerid, color, text);

? ? SendClientMessage(playerid, color, text2);

? ? return 1;

}

else return SendClientMessage(playerid, color, text);

}


  Help! How to Change MAX objects based on drawdistance?
Posted by: PutuSuhartawan - 2021-04-23, 08:54 PM - Forum: Pawn Scripting - Replies (1)

I use the streamer plugin but all I just found?is MAX items.


  mysql_query to tquery inline
Posted by: Zow - 2021-04-23, 05:07 PM - Forum: Pawn Scripting - Replies (1)

this one work



Code:
GetVehicleCount(playerid)

{

? ? new threadCheck[128], count;



? ? mysql_format(ourConnection, threadCheck, sizeof(threadCheck), "SELECT COUNT(*) FROM vehicles WHERE VehicleOwnerDBID = %d", PlayerInfo[playerid][pDBID]);

? ? new Cache: result = mysql_query(ourConnection, threadCheck);



? ? cache_get_value_index_int(0, 0, count);



? ? cache_delete(result);

? ? return count;

}



this is first time to using inline but its not work as I expect



Code:
GetVehicleCountEx(playerid) {

? ? new count;

? ? inline _CountVehicle()

? ? {

? ? ? ? new rows;

? ? ? ? if(cache_get_row_count(rows))

? ? ? ? {

? ? ? ? ? ? cache_get_value_index_int(0, 0, count);

? ? ? ? }

? ? }

? ? MySQL_TQueryInline(ourConnection, using inline _CountVehicle, "SELECT COUNT(*) FROM vehicles WHERE VehicleOwnerDBID = %d", PlayerInfo[playerid][pDBID]);

? ? return count;

}


  HELP! How to Hide The Radar Or HUD time money with function / stock?
Posted by: PutuSuhartawan - 2021-04-23, 12:34 PM - Forum: Pawn Scripting - Replies (3)

sorry, I am very confused and uncomfortable when making certain scenes, sometimes I just need to turn off the radar display. or need to get rid of HUDs such as money or hours or luggage logos.


  PAWN compiler on VSCode
Posted by: Behemoth - 2021-04-22, 07:48 PM - Forum: Pawn Scripting - Replies (2)

Hi,



I've recently moved over to VSCode for programming and was wondering if anyone has ever used it for PAWN. If so, could you share how you've got the compiler working on it?



Tried playing around but I've had no luck.



Thanks


  HELP with log.
Posted by: Ambarita - 2021-04-22, 11:06 AM - Forum: Pawn Scripting - Replies (4)

Is there anything i can use for making logs? like a kick and ban log.


  HELP! How to Change RP name return chat remove underline OnPlayerText but return 0 ?
Posted by: PutuSuhartawan - 2021-04-22, 10:50 AM - Forum: Pawn Scripting - Replies (7)

Code:
public OnPlayerText(playerid, text[])

{

? //new AdaSays[90];

// format(AdaSays, sizeof(AdaSays), ""COL_WHITE"Says: %s", text);

// ProcessChatText(playerid, AdaSays);

? //TalkMessage(ACTION_DISTANCE, playerid, "", text);

? SEM(playerid, ""COL_RED"DEBUG: "COL_WHITE"message text example");

? new string[228];

? format(string, sizeof(string), "%s says: %s", GetRPName(playerid), text);

? CloseMessage(playerid, COLOR_WHITE, string);

? //format(string, sizeof(string), "%s says: %s", GetRPName(playerid), text);

//Log("logs/chatlogplayer.log", string);

? format(string,sizeof(string),"%s", text);

? SetPlayerChatBubble( playerid, string,0xFFFFFFFF,20.0,5500);



? return 1;

}


  [HELP] GetplayerName Initial Firstname then full Lastname.
Posted by: TheAnimalKa - 2021-04-21, 10:42 AM - Forum: Pawn Scripting - Replies (3)

Hello. Can somebody help me regarding getplayername that will only get the first initial of the firstname of the player then the full lastname. Example:



Full Name: Hello_Help



print >> H. Help.