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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,224
» Latest member: tiktokusa479
» Forum threads: 2,374
» Forum posts: 12,328

Full Statistics

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

Latest Threads
Liberty City map
Forum: Pawn Scripting
Last Post: ziyadprogamer
Yesterday, 04:55 PM
» Replies: 2
» Views: 2,110
GameText styles in open.m...
Forum: Pawn Scripting
Last Post: Miki
Yesterday, 01:25 PM
» Replies: 1
» Views: 22
Very Basic SAMP UCP
Forum: Videos and Screenshots
Last Post: bullyalina
Yesterday, 12:43 PM
» Replies: 49
» Views: 12,716
Script[gamemodes/gamemode...
Forum: Pawn Scripting
Last Post: Miki
2025-06-27, 05:08 PM
» Replies: 1
» Views: 421
NFPA 318 Guidelines for C...
Forum: Videos and Screenshots
Last Post: elvishparker277
2025-06-27, 11:05 AM
» Replies: 0
» Views: 38
Want to edit my profile n...
Forum: Chat
Last Post: Hera.
2025-06-26, 08:41 PM
» Replies: 1
» Views: 530
Farsi
Forum: Other
Last Post: acc.gangbeni
2025-06-25, 08:21 AM
» Replies: 2
» Views: 3,050
Las Venturas Gang Wars - ...
Forum: Advertisements
Last Post: lvgwgta
2025-06-22, 06:47 PM
» Replies: 0
» Views: 43
[Request] Linko Gaming Ro...
Forum: General Discussions
Last Post: JamesC
2025-06-20, 07:34 PM
» Replies: 0
» Views: 58
RevolutionX DM/Stunt/Race...
Forum: Advertisements
Last Post: DerekZ905
2025-06-18, 03:12 PM
» Replies: 0
» Views: 79

 
  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, 04:05 PM - Forum: Programming - No Replies

I SOLVED IT.


  [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.


  HELP! I want to know how the GPS System using plugins feels more real in function?
Posted by: PutuSuhartawan - 2021-04-20, 11:21 PM - Forum: Pawn Scripting - Replies (1)

Sir, do you know how to get a GPS plugin for the SAMP server that offers road direction services that can be arrows. or appear on the radar like a line following a path towards a target?


  Does anybody have TextMenu Include file ?
Posted by: Awaken NeverLand - 2021-04-20, 06:06 AM - Forum: Pawn Scripting - Replies (2)

I am searching for TextMenu include all over the internet and still couldn't found. If anybody have it in your scripts please share it with me


  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?