| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 6,635
» Latest member: keeinzy
» Forum threads: 2,472
» Forum posts: 12,515
Full Statistics
|
| Online Users |
There are currently 326 online users. » 1 Member(s) | 321 Guest(s) Bing, Google, Yandex, Applebot
|
| Latest Threads |
From Uncertainty to Growt...
Forum: Chat
Last Post: Xyranaut
10 hours ago
» Replies: 6
» Views: 203
|
MySQL for open.mp
Forum: Plugins
Last Post: Xyranaut
Yesterday, 09:17 PM
» Replies: 0
» Views: 68
|
Hosted tab in 2023
Forum: General Discussions
Last Post: Mhmd m
Yesterday, 06:38 PM
» Replies: 7
» Views: 11,659
|
FCNPC for open.mp
Forum: Pawn Scripting
Last Post: Nexius
Yesterday, 12:59 PM
» Replies: 8
» Views: 8,271
|
pawnobots for openmp
Forum: Pawn Scripting
Last Post: Nexius
Yesterday, 12:57 PM
» Replies: 1
» Views: 173
|
Busco mapeador para servi...
Forum: Programación
Last Post: Nikolay_Staggs
2026-05-31, 03:20 PM
» Replies: 0
» Views: 45
|
Best way to implement a s...
Forum: Questions and Suggestions
Last Post: cachegetfield
2026-05-31, 08:00 AM
» Replies: 0
» Views: 53
|
Qawno for macOS — native ...
Forum: Releases
Last Post: Xyranaut
2026-05-30, 07:20 PM
» Replies: 0
» Views: 56
|
rust-samp 3.0.0 Released
Forum: Libraries
Last Post: NullSablex
2026-05-30, 05:34 PM
» Replies: 0
» Views: 49
|
Open Pawn — Cross-platfor...
Forum: Releases
Last Post: Xyranaut
2026-05-30, 02:09 PM
» Replies: 0
» Views: 51
|
|
|
| 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
|
|
|
|
| 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;
}
|
|
|
|
| How to get the exacly pos where a bomb drops? |
|
Posted by: annety - 2021-04-20, 06:03 AM - Forum: Support
- Replies (4)
|
 |
I want to make a server with a good PvP like CS-GO
For that i need to make good granades: like smoke,flash,molotov
The effect i can manage to do by using textdraws, create explosion, drunk effect...
But there is only a thing i need someone with more expirience to help me:
How to get the exacly position where bombs when players throw?
To create that flashbang,smoke,molotov effect...
How to get it?
|
|
|
|
| GPS Like GTA 4? |
|
Posted by: Boxi - 2021-04-20, 03:20 AM - Forum: Pawn Scripting
- Replies (3)
|
 |
I would like to know is there any way to make this style of gps, which is marked on the map the path to follow as seen in the image:?
|
|
|
|
|