| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 7,700
» Latest member: TheDoctor
» Forum threads: 2,356
» Forum posts: 12,303
Full Statistics
|
| Online Users |
There are currently 244 online users. » 0 Member(s) | 241 Guest(s) Google, Bing, Baidu
|
| Latest Threads |
Client issue with object
Forum: Support
Last Post: TheDoctor
Yesterday, 08:00 PM
» Replies: 0
» Views: 29
|
San Andreas Police Pursui...
Forum: Advertisements
Last Post: BriBri
Yesterday, 12:06 AM
» Replies: 0
» Views: 33
|
[Include] OpenGate (Abrir...
Forum: Portuguese/Portugu?s
Last Post: Crazy_ArKzX
2025-11-13, 06:49 PM
» Replies: 0
» Views: 31
|
OpenGate (Open Proximity ...
Forum: Libraries
Last Post: Crazy_ArKzX
2025-11-13, 06:46 PM
» Replies: 0
» Views: 34
|
LS City Hall
Forum: Maps
Last Post: cosminupgaming
2025-11-12, 04:22 PM
» Replies: 3
» Views: 2,656
|
Crime Base
Forum: Maps
Last Post: cosminupgaming
2025-11-12, 04:19 PM
» Replies: 2
» Views: 1,252
|
GTA SA-MP Scripting: Issu...
Forum: General Discussions
Last Post: williamrhein
2025-11-12, 10:16 AM
» Replies: 0
» Views: 48
|
is it worth creating a se...
Forum: General Discussions
Last Post: cosminupgaming
2025-11-11, 05:30 PM
» Replies: 13
» Views: 18,328
|
Looking for an English De...
Forum: General Discussions
Last Post: cosminupgaming
2025-11-11, 05:21 PM
» Replies: 2
» Views: 2,807
|
Awakeninga an old server.
Forum: Support
Last Post: drwnrbbt
2025-11-11, 02:26 PM
» Replies: 0
» Views: 53
|
|
|
| [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.
|
|
|
|
| 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
|
|
|
|
| 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.
|
|
|
|
| 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
|
|
|
|
| Mysql |
|
Posted by: Syxh0wN - 2021-01-13, 10:28 AM - Forum: Support
- Replies (1)
|
 |
my server uses a lot of cpu because of mysql, is there any way for me to know which code is pulling so much cpu?
|
|
|
|
| APARTMENT 3C & ARTSTUDIO |
|
Posted by: Name - 2021-01-13, 06:14 AM - Forum: Videos and Screenshots
- Replies (6)
|
 |
APARTMENT 3C & ARTSTUDIO INTERIORS
(both maps are from my old map collection, some of you probably saw these in the past)
Name: Apartment 3C
Map type: Interior
Author of map: MrName (me)
Number of objects: 300
Number of textures: 324
Removed SA objects: 0?
Custom objects: 0
Location of map: unknown
Map editor used: MSR's mapping system
About map: Reference for this map was taken from Vice City, for more info you can check Vice City's apartment 3c.
Screenshots:
|
|
|
|
|