| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 271 online users. » 0 Member(s) | 268 Guest(s) Google, Bing, Yandex
|
| Latest Threads |
Las Venturas Gang Wars - ...
Forum: Advertisements
Last Post: lvgwgta
Yesterday, 10:35 AM
» Replies: 0
» Views: 29
|
Criando Server RP!
Forum: Portuguese/Português
Last Post: GhostSpectre
Yesterday, 01:37 AM
» Replies: 0
» Views: 35
|
Kalcor is still outta the...
Forum: Chat
Last Post: NoxxeR
2026-06-25, 07:57 PM
» Replies: 1
» Views: 146
|
Pedestrians
Forum: Plugins
Last Post: connyxv
2026-06-25, 08:52 AM
» Replies: 0
» Views: 107
|
SA-MP Bedwars (2026)
Forum: Advertisements
Last Post: Amjad
2026-06-23, 08:52 AM
» Replies: 0
» Views: 516
|
libsamp - samp.dll re-imp...
Forum: Programming
Last Post: Knogle
2026-06-22, 09:21 PM
» Replies: 0
» Views: 96
|
[Lançamento] Spawn — IDE ...
Forum: Portuguese/Português
Last Post: Daniil Korochansky
2026-06-22, 01:25 PM
» Replies: 0
» Views: 68
|
PawnPro 3.3.0 Released
Forum: Releases
Last Post: NullSablex
2026-06-21, 09:25 AM
» Replies: 0
» Views: 100
|
Introducing PST — A Commu...
Forum: Pawn Scripting
Last Post: Daniil Korochansky
2026-06-20, 04:14 PM
» Replies: 0
» Views: 100
|
FCNPC for open.mp - the c...
Forum: Plugins
Last Post: MauroRisi
2026-06-20, 12:28 AM
» Replies: 2
» Views: 265
|
|
|
| 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:
|
|
|
|
| Animation to speak |
|
Posted by: Boxi - 2021-01-12, 09:45 PM - Forum: Pawn Scripting
- Replies (1)
|
 |
Hello, I want to make a command that when using it the character makes the typical talking animation. Do you know what the name of that animation is? thanks!
|
|
|
|
| Nice and easy way to script a countdown? |
|
Posted by: M.D. - 2021-01-12, 08:45 PM - Forum: Pawn Scripting
- Replies (4)
|
 |
What do you reckon that would be an efficient method of implementing a countdown (a few minutes long), including both a timer and an updating TextDraw or GameText?
Afterwards, how would you be able to script something to happen at the end of it?
Cheers!
|
|
|
|
| Using MySQL R41-4 |
|
Posted by: RhaegarX - 2021-01-12, 04:47 PM - Forum: Pawn Scripting
- Replies (4)
|
 |
Hello guys, I programmed some samp servers a long time ago and recently I started programming again just for fun.
However, I always programmed using a rescue system in '.ini' and I am creating a gamemode in mysql and I would like to clarify some doubts on the subject.
1 - Is it recommended and necessary to use mysql in the samp? What are its advantages over '.ini' rescue systems?
2 - In relation to saving data from the server and players in mysql, it is interesting to save the data of the player only when the player leaves the server, or to save this data for each operation that the player does (example: the player buys an item and then the game already saves that data)
Thanks for the attention of those who read this topic xD!
Sorry for my bad English, I used google translator for some things.
|
|
|
|
|