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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,840
» Latest member: felipeluiscosta21
» Forum threads: 2,372
» Forum posts: 12,269

Full Statistics

Online Users
There are currently 333 online users.
» 1 Member(s) | 329 Guest(s)
Google, Bing, Baidu, ihatetn931

Latest Threads
The status of the INPC SD...
Forum: Support
Last Post: DLCode
2026-01-07, 07:33 AM
» Replies: 0
» Views: 48
SAMP server trailer
Forum: Videos and Screenshots
Last Post: pmemorex2016
2026-01-06, 02:34 PM
» Replies: 0
» Views: 43
PROJECT: LOS ANGELES — TH...
Forum: Advertisements
Last Post: DevonH
2026-01-03, 04:04 AM
» Replies: 9
» Views: 1,041
I recommend Xiaomi Rednot...
Forum: Tech
Last Post: NoxxeR
2026-01-03, 01:31 AM
» Replies: 0
» Views: 84
🌆 Final City RPG – Englis...
Forum: Advertisements
Last Post: Beanny
2026-01-02, 02:46 PM
» Replies: 0
» Views: 79
OLD GAMEMODE 0.3DL
Forum: Gamemodes
Last Post: su109551
2026-01-01, 06:59 PM
» Replies: 0
» Views: 125
Layanan cs Floa
Forum: General Discussions
Last Post: bratva
2025-12-31, 01:10 PM
» Replies: 5
» Views: 200
[ZA] ZOMBIE APOCALYPSE. ...
Forum: Advertisements
Last Post: AlCapone
2025-12-30, 12:02 PM
» Replies: 0
» Views: 88
Real-time pathfinder, opt...
Forum: Pawn Scripting
Last Post: ejtamovic
2025-12-30, 08:46 AM
» Replies: 2
» Views: 326
After School Roleplay - L...
Forum: Advertisements
Last Post: cosminupgaming
2025-12-29, 09:47 PM
» Replies: 8
» Views: 661

 
Question Question
Posted by: Areshk - 2021-03-26, 05:26 PM - Forum: Pawn Scripting - Replies (1)

What's the difference between Public and Stock?



Thank you :)


  date_format convert to my language
Posted by: Zow - 2021-03-26, 12:01 PM - Forum: Pawn Scripting - No Replies

PHP Code:
Month_Convert(month)



{

? ? new 
string[12];

? ? new 
monthmsg[12];

switch(
month)

{

? ? case 
1:? monthmsg "??????";

? ? case 
2:? monthmsg "??????????";

? ? case 
3:? monthmsg "??????";

? ? case 
4:? monthmsg "??????";

? ? case 
5:? monthmsg "???????";

? ? case 
6:? monthmsg "????????";

? ? case 
7:? monthmsg "???????";

? ? case 
8:? monthmsg "???????";

? ? case 
9:? monthmsg "???????";

? ? case 
10monthmsg "??????";

? ? case 
11monthmsg "?????????";

? ? case 
12monthmsg "???????";

}

format(stringsizeof(string), "%s"monthmsg);

return 
string;







PHP Code:
hook OnPlayerLogin(playerid)

{

? ? 
inline _LoadVIP()

? ? {

? ? ? ? new 

? ? ? ? ? ? 
expire

? ? ? ? ? ? 
expiry_date[3],

? ? ? ? ? ? 
expiry_month,

? ? ? ? ? ? 
expiry_year[5],

? ? ? ? ? ? 
expiry_time[10],

? ? ? ? ? ? 
rows

? ? ? ? ;



? ? ? ? 
cache_get_row_count(rows);



? ? ? ? if(
rows) {

? ? ? ? ? ? 
cache_get_value_name_int(0"vip_level"Player_VIPLevel[playerid]);

? ? ? ? ? ? 
cache_get_value_name(0"expirydate"expiry_datesizeof(expiry_date));

? ? ? ? ? ? 
cache_get_value_name_int(0"expirymonth"expiry_month);

? ? ? ? ? ? 
cache_get_value_name(0"expiryyear"expiry_yearsizeof(expiry_year));

? ? ? ? ? ? 
cache_get_value_name(0"expirytime"expiry_timesizeof(expiry_time));

? ? ? ? ? ? 
cache_get_value_name_int(0"expire"expire);



? ? ? ? ? ? if (
expire <= 0) {

? ? ? ? ? ? ? ? 
VIP_RemovePlayer(playerid);

? ? ? ? ? ? ? ? 
va_SendClientMessage(playeridCOLOR_RED"VIP ????????????????? %s %s %s %s!"expiry_dateMonth_Convert(expiry_month), expiry_yearexpiry_time);

? ? ? ? ? ? ? ? 
Player_VIPLevel[playerid] = 0;

? ? ? ? ? ? ? ? return;

? ? ? ? ? ? }

? ? ? ? ? ? 
va_SendClientMessage(playeridCOLOR_BLUE"?????? VIP ????? %d"VIP_GetPlayerLevel(playerid));

? ? ? ? ? ? 
va_SendClientMessage(playeridCOLOR_RED"??????????? %s %s %s %s"expiry_dateMonth_Convert(expiry_month), expiry_yearexpiry_time);

? ? ? ? }

? ? }

? ? static const 
query[] = "\

? ? ? ? SELECT \

? ? ? ? ? ? vip_level, \

? ? ? ? ? ? DATE_FORMAT(vip_expire_date, '%%d') as expirydate, \

? ? ? ? ? ? DATE_FORMAT(vip_expire_date, '%%m') as expirymonth, \

? ? ? ? ? ? DATE_FORMAT(vip_expire_date, '%%Y') as expiryyear, \

? ? ? ? ? ? DATE_FORMAT(vip_expire_date, '%%T') as expirytime, \

? ? ? ? ? ? TIMESTAMPDIFF(SECOND, CURRENT_TIMESTAMP(), vip_expire_date) as expire \

? ? ? ? FROM \

? ? ? ? ? ? vips \

? ? ? ? WHERE \

? ? ? ? ? ? u_id = %d\

? ? "
;



? ? 
MySQL_TQueryInline(MySQL_GetHandle(), using inline _LoadVIPqueryPlayer_GetAccountID(playerid));





I feel so weird to this one?

any suggest? or just keep it



PHP Code:
? ? static const query[] = "\

? ? ? ? SELECT \

? ? ? ? ? ? vip_level, \

? ? ? ? ? ? DATE_FORMAT(vip_expire_date, '%%d') as expirydate, \

? ? ? ? ? ? DATE_FORMAT(vip_expire_date, '%%m') as expirymonth, \

? ? ? ? ? ? DATE_FORMAT(vip_expire_date, '%%Y') as expiryyear, \

? ? ? ? ? ? DATE_FORMAT(vip_expire_date, '%%T') as expirytime, \

? ? ? ? ? ? TIMESTAMPDIFF(SECOND, CURRENT_TIMESTAMP(), vip_expire_date) as expire \

? ? ? ? FROM \

? ? ? ? ? ? vips \

? ? ? ? WHERE \

? ? ? ? ? ? u_id = %d\

? ? "




here's the original one from gta-open



PHP Code:
? ? static const query[] = "\

? ? ? ? SELECT \

? ? ? ? ? ? vip_level, \

? ? ? ? ? ? DATE_FORMAT(vip_expire_date, '"
SQL_DATETIME_FORMAT"') as expiry, \

? ? ? ? ? ? TIMESTAMPDIFF(SECOND, CURRENT_TIMESTAMP(), vip_expire_date) as expire \

? ? ? ? FROM \

? ? ? ? ? ? vips \

? ? ? ? WHERE \

? ? ? ? ? ? u_id = %d\

? ? "


  How to add music to skin selection menu?
Posted by: CrypticSin - 2021-03-25, 08:35 PM - Forum: Pawn Scripting - Replies (4)

Hi i'm trying to figure out how i can add music to a skin selection menu, i would appreciate it if someone can help thanks.



Code:
public OnPlayerRequestClass(playerid, classid)

{

SetPlayerPos(playerid, 2014.6443,1077.2521,48.8207);

SetPlayerFacingAngle(playerid, 357.1971);

SetPlayerCameraPos(playerid,? 2014.9019, 1083.7701, 49.8680);

SetPlayerCameraLookAt(playerid, 2014.8658, 1082.7725, 49.7031);?

return 1;

}


  How do I prevent a player from getting into a specific car?
Posted by: Boxi - 2021-03-24, 06:49 PM - Forum: Pawn Scripting - Replies (4)

Hello everyone C: a question, how do I make that a player can not enter a specific car? I explain:



Code:
new carvid_0;



carvid_0?= CreateVehicle(506,539.846,-1287.868,16.946,359.176,6,0,-1);



I need that they can't get into that specific vehicle, I can do it but only using the model of the car and that would prevent them from getting into all the cars of that model, but I only want that one. Does anyone know what I have to do? thanks c:


  Hardware requirements to have a server
Posted by: robertocaribbean - 2021-03-24, 06:20 PM - Forum: General Discussions - Replies (1)

Hello everyone,

I have a VPS with this configuration:
1 Core CPU
1 GB Ram
25 GB SSD

Is it enough to host 100 players?

Is there any way to measure how many players the server can support without stress testing?


  [MAP] Audi Dealership
Posted by: Muksinjo - 2021-03-24, 01:28 PM - Forum: Videos and Screenshots - Replies (1)

This is my new map, Audi Dealership, hope you like it! :D



https://imgur.com/a/DgYQzGN


  GTA 5 Deathmatch
Posted by: rawzner - 2021-03-24, 12:38 PM - Forum: Chat - Replies (4)

Anyone else enjoy deathmatch on GTA 5? Not on online but on servers on fivem. Almost impossible to find since everything is RP but been playing one that's similar to old SAMP deathmatch servers like FoCo.?



Discord is Bishop#1527 if anyone wants to chat and play


  Server Lag
Posted by: Hitler - 2021-03-24, 02:25 AM - Forum: Pawn Scripting - Replies (1)

Espa?ol:?Hola buenas, esto es solo dudas que tengo, sobre que era lo que ocasiona el lag en el servidor, anteriormente habia leido un post de forum samp sobre las razones del lag en el servidor, entre estas estaban:

- Mal uso de las celdas

- Plugins no actualizados

Esos recuerdo, alguien que me pueda decir m?s razones del lag en el servidor se lo agradecer?a





English:?Hello good, this is only doubts that I have, about what was causing the lag in the server, I had previously read a post on forum samp about the reasons for the lag in the server, among these were:

- Misuse of cells

- Plugins not updated

Those memories, someone who can tell me more reasons for the lag in the server would appreciate it


  SA-MP Server R3
Posted by: Hitler - 2021-03-24, 01:45 AM - Forum: Support - Replies (3)

Espa?ol:??C?mo puedo obtener la versi?n R3 en el servidor?



English:?How can I get the R3 version on the server?


  Server lag
Posted by: Hitler - 2021-03-24, 01:23 AM - Forum: Support - Replies (1)

Espa?ol:?Hola buenas, esto es solo dudas que tengo, sobre que era lo que ocasiona el lag en el servidor, anteriormente habia leido un post de forum samp sobre las razones del lag en el servidor, entre estas estaban:

- Mal uso de las celdas

- Plugins no actualizados

Esos recuerdo, alguien que me pueda decir m?s razones del lag en el servidor se lo agradecer?a





English:?Hello good, this is only doubts that I have, about what was causing the lag in the server, I had previously read a post on forum samp about the reasons for the lag in the server, among these were:

- Misuse of cells

- Plugins not updated

Those memories, someone who can tell me more reasons for the lag in the server would appreciate it