| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 170 online users. » 0 Member(s) | 167 Guest(s) Bing, Google, Yandex
|
| Latest Threads |
open.mp Dashboard
Forum: Chat
Last Post: Nexius
Yesterday, 01:22 PM
» Replies: 9
» Views: 634
|
[SERVER] San Andreas Mult...
Forum: Advertisements
Last Post: tokofridonashvili
Yesterday, 09:50 AM
» Replies: 0
» Views: 35
|
SS7-AI v1.0.0
Forum: Libraries
Last Post: Saints7
2026-06-08, 03:04 PM
» Replies: 0
» Views: 61
|
[Announcement] Spawn - An...
Forum: Tech
Last Post: Daniil Korochansky
2026-06-08, 10:48 AM
» Replies: 0
» Views: 92
|
Indonesian
Forum: Other
Last Post: 14March
2026-06-04, 02:31 PM
» Replies: 9
» Views: 18,238
|
GTA-MULIPLAYER.CZ
Forum: Advertisements
Last Post: xInVinCiBlE
2026-06-04, 09:02 AM
» Replies: 0
» Views: 69
|
SS7CMD v1.0.0
Forum: Libraries
Last Post: Saints7
2026-06-03, 11:57 AM
» Replies: 2
» Views: 201
|
Gametext styles
Forum: Russian/Русский
Last Post: Nexius
2026-06-03, 11:19 AM
» Replies: 2
» Views: 2,587
|
CZ CNR cops and robbers
Forum: Advertisements
Last Post: Mhmd m
2026-06-03, 11:01 AM
» Replies: 0
» Views: 64
|
MySQL for open.mp
Forum: Plugins
Last Post: Xyranaut
2026-06-01, 09:17 PM
» Replies: 0
» Views: 187
|
|
|
| 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
|
|
|
|
| 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.
}
}
}
|
|
|
|
| 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);
}
|
|
|
|
| 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;
}
|
|
|
|
| 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
|
|
|
|
|