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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,247
» Latest member: JamesT
» Forum threads: 2,378
» Forum posts: 12,290

Full Statistics

Online Users
There are currently 331 online users.
» 0 Member(s) | 328 Guest(s)
Yandex, Bing, Google

Latest Threads
Second Generation Rolepla...
Forum: Advertisements
Last Post: JamesT
1 hour ago
» Replies: 0
» Views: 6
How to compile pawn scrip...
Forum: Tech
Last Post: reynoldschicago
2 hours ago
» Replies: 1
» Views: 738
Servidor RPG profissões
Forum: Advertisements
Last Post: tcharlesmeurer
11 hours ago
» Replies: 0
» Views: 7
Servidor novo RPG profiss...
Forum: Chat
Last Post: tcharlesmeurer
11 hours ago
» Replies: 0
» Views: 9
EVO Anti-Cheat
Forum: Libraries
Last Post: Eduardo_AC
Yesterday, 11:05 PM
» Replies: 2
» Views: 23
Developer for Hire – Syst...
Forum: Pawn Scripting
Last Post: ejtamovic
2025-07-04, 08:35 AM
» Replies: 0
» Views: 40
Liberty City map
Forum: Pawn Scripting
Last Post: ziyadprogamer
2025-06-28, 04:55 PM
» Replies: 2
» Views: 2,168
GameText styles in open.m...
Forum: Pawn Scripting
Last Post: Miki
2025-06-28, 01:25 PM
» Replies: 1
» Views: 54
Script[gamemodes/gamemode...
Forum: Pawn Scripting
Last Post: Miki
2025-06-27, 05:08 PM
» Replies: 1
» Views: 433
Want to edit my profile n...
Forum: Chat
Last Post: Hera.
2025-06-26, 08:41 PM
» Replies: 1
» Views: 582

 
  Microsoft Adaptive Cards dialogs
Posted by: Sasino97 - 2021-01-16, 04:43 AM - Forum: Questions and Suggestions - No Replies

I suggest?considering?implementing Microsoft's?Adaptive Cards?as a type of dialog in the future version that includes a client.

It's basically a small standard parser for json files, used to present few types of simple?data and actions to take.



[Image: image.png]


  BurgerShot posting bug
Posted by: Radical - 2021-01-16, 01:58 AM - Forum: Chat - Replies (3)

The text will be corrupted and unreadable when sending a new post:

[Image: image.jpg]

https://ibb.co/ch0mNyM


  [Solved] Selecting and Editing object problem
Posted by: Radical - 2021-01-16, 01:43 AM - Forum: Pawn Scripting - Replies (7)

SOLUTION:?

Use streamer v2.9.4.



1: OnPlayerEditObject/OnPlayerEditDynamicObject response is EDIT_RESPONSE_UPDATE



Recently, a bug was found on the server that when we edit objects, the objects return to where they were created after a few seconds.

I do not know why in OnPlayerEditObject/OnPlayerEditDynamicObject the 'response' is EDIT_RESPONSE_UPDATE.

The response should be EDIT_RESPONSE_FINAL to solve.





2: SelectObject function is not working for dynamic objects.

When I select the object, the OnPlayerSelectDynamicObject is not called.

Why?





What is your solutions? Thank u.


  Compiler stops with no message
Posted by: Torque - 2021-01-16, 12:55 AM - Forum: Pawn Scripting - Replies (3)

So I've just removed a whole bunch of script that wasn't being used in my game mode, or that I didn't want to have any more.

I knew that by doing this I would get errors (I've removed 10's of thousands of lines of script).

This would have been ok, as I would have gone through and corrected everything. However, when I compile the script, the compiler just stops, and I get the compiler output window but with no text at all.

What is the likely issue to cause the compiler to stop abruptly and output nothing?


  [HELP] Invalid string value on MySQL.
Posted by: Smyle - 2021-01-16, 12:07 AM - Forum: Pawn Scripting - Replies (2)

Hey, yall. So i was trying to make some records inside of a MySQL table and i must use special characters (?, ?, ?, ?, etc). The issue is that when i try to insert a new row into the table with that special characters these special characters just returns to me this following error:



Code:
Incorrect string value: '\xE7\xE3o de...'



Note: \xE7 matches to '?' and \xE3 matches to the '?' character.



I've already tried to change my collate and character set on MySQL to utfmb4, utf8, latin1, etc. but nothing works. Also i tried to use mysql_escape_string and also tried to use %e instead of %s when manipulating this string whit the special characters. But nothing seems to change.



Code:
? ? mysql_format(DBConn, Query, 500, "INSERT INTO %s (Data, Registro) VALUES ('%d', '%s')", tableName, timestamp, msg);

? ? mysql_query(DBConn, Query);





Note?: When printing the same format i am using to query, everything shows up fine as expected in the console.


  Modern house on Richman
Posted by: Muksinjo - 2021-01-15, 01:54 PM - Forum: Videos and Screenshots - Replies (1)

Hello, this is my older map, i decided to post it here, hope you like it :D



https://imgur.com/a/uyCeQqT


  server commands
Posted by: Funkar69 - 2021-01-14, 10:32 PM - Forum: Pawn Scripting - Replies (1)

i'm trying to make a /commands with dialog list and I'm suffering how to make a list.

instead of Item 1 there should be Server commands and then it would up another dialog containing another box which would be basic command something like that.
https://imgur.com/RwsbxUd


  Crash help
Posted by: Gustavo P - 2021-01-13, 09:26 PM - Forum: Pawn Scripting - No Replies

.......


  Yn'il SA:MP Server
Posted by: .coke42O - 2021-01-13, 03:54 PM - Forum: Art - Replies (1)

Hello people. I went to present you a logo from my SA:MP server. Otherwise I'm not a designer.

[Image: ynil-net-hq-L.png]


  IsDynamicActorStreamedIn always returns 0
Posted by: c4p - 2021-01-13, 03:26 PM - Forum: Pawn Scripting - Replies (2)

Hey. In my mod there is a system which creates shop actors if a player goes inside, and destroys them when everybody went out.
Or at least that's the goal. Creating the actor works fine, as the mod detects if the actor is already created and doesnt spawn it again, etc.
But if anybody leaves the shop and my custom function gets called, the shop actor gets deleted immediately, no matter if someone else got the actor streamed in.

My code:

Code:
DestroyShopActorIfUnstreamed(virtualworldid)
{
? ? if (!IsValidDynamicActor(shopactor[virtualworldid])) return 1;
for(new i = 0; i < MAX_PLAYERS  1; i)
? ? {
? ? ? ? if (IsDynamicActorStreamedIn(shopactor[virtualworldid], i))
? ? ? ? {
? ? ? ? ? ? print("streamed");
? ? ? ? ? ?break;
? ? ? ? }
? ? printf("shopactor %i deleted", virtualworldid);
? ? DestroyDynamicActor(shopactor[virtualworldid]);
? ? }
return 1;
}

I know i messed up something with the code