| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 6,662
» Latest member: bieloko
» Forum threads: 2,483
» Forum posts: 12,536
Full Statistics
|
| Online Users |
There are currently 915 online users. » 1 Member(s) | 910 Guest(s) Yandex, Google, Bing, DuckDuckGo, Emirto
|
| Latest Threads |
[Release] Spawn — IDE for...
Forum: Programming
Last Post: Daniil Korochansky
2026-06-16, 05:41 AM
» Replies: 1
» Views: 73
|
discord unban appeal - pa...
Forum: Chat
Last Post: edgy
2026-06-15, 01:50 PM
» Replies: 1
» Views: 100
|
🎮 [91.134.166.72:5555] Jo...
Forum: Advertisements
Last Post: tokofridonashvili_01
2026-06-14, 05:39 PM
» Replies: 0
» Views: 45
|
Project San Andreas Rolep...
Forum: Advertisements
Last Post: Artysh
2026-06-14, 04:08 PM
» Replies: 0
» Views: 44
|
Qawno for macOS — native ...
Forum: Releases
Last Post: DrVandersexxx
2026-06-14, 09:57 AM
» Replies: 1
» Views: 116
|
Proiecte care asteapta Op...
Forum: Romanian/Română
Last Post: ionuzcostin
2026-06-13, 07:55 PM
» Replies: 14
» Views: 29,068
|
Streets Of Vice Roleplay ...
Forum: Advertisements
Last Post: BazMartin
2026-06-13, 07:50 PM
» Replies: 0
» Views: 52
|
[VoiceChat] omp-voice
Forum: Plugins
Last Post: ionuzcostin
2026-06-13, 06:15 PM
» Replies: 0
» Views: 62
|
open.mp Dashboard
Forum: Chat
Last Post: Nexius
2026-06-11, 01:22 PM
» Replies: 9
» Views: 771
|
[SERVER] San Andreas Mult...
Forum: Advertisements
Last Post: tokofridonashvili
2026-06-11, 09:50 AM
» Replies: 0
» Views: 85
|
|
|
| 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.
|
|
|
|
|