| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 7,873
» Latest member: Kewun
» Forum threads: 2,385
» Forum posts: 12,289
Full Statistics
|
| Online Users |
There are currently 415 online users. » 0 Member(s) | 409 Guest(s) Google, Yandex, Bing, Baidu, DuckDuckGo, Applebot
|
| Latest Threads |
Verona Community open ser...
Forum: Advertisements
Last Post: pmemorex2016
Yesterday, 01:47 PM
» Replies: 0
» Views: 19
|
Verona Community otvaranj...
Forum: Ex-Yu
Last Post: pmemorex2016
Yesterday, 01:43 PM
» Replies: 0
» Views: 27
|
Aurora RP/CNR
Forum: Advertisements
Last Post: Kewun
Yesterday, 07:24 AM
» Replies: 0
» Views: 25
|
GameText styles in open.m...
Forum: Pawn Scripting
Last Post: Kar
Yesterday, 03:53 AM
» Replies: 3
» Views: 1,302
|
Asking something
Forum: General Discussions
Last Post: ALE11
2026-01-20, 03:49 PM
» Replies: 0
» Views: 16
|
PROJECT: LOS ANGELES — TH...
Forum: Advertisements
Last Post: DevonH
2026-01-18, 07:01 PM
» Replies: 11
» Views: 1,185
|
After School Roleplay - L...
Forum: Advertisements
Last Post: cosminupgaming
2026-01-18, 05:50 PM
» Replies: 10
» Views: 821
|
Las Venturas Gang Wars - ...
Forum: Advertisements
Last Post: lvgwgta
2026-01-17, 08:36 PM
» Replies: 0
» Views: 43
|
Can't even view list of s...
Forum: General Discussions
Last Post: thomasgolden
2026-01-16, 04:32 AM
» Replies: 0
» Views: 64
|
Proyecto SA-MP Medieval: ...
Forum: Discusi?n GTA SA Multijugador
Last Post: harkonstraus0219
2026-01-16, 03:15 AM
» Replies: 0
» Views: 54
|
|
|
| So is it dead? |
|
Posted by: pakistanplayer - 2021-05-06, 11:37 AM - Forum: Questions and Suggestions
- Replies (12)
|
 |
https://open.mp/progress
2 months last update here.
Honestly, many have lost hopes about this.
SA-MP has no active developer (Kalcor), it's done.
UGMP is another shit which has worse performance than GTA Online for computers and tons of bugs/crashes and bad client,
And open-mp is just terribly slow progress.
I mean, at december video in youtube, it was told " beta server coming soon ", so is soon, 2022?
I don't see anything neither beta server nor anything released this year.
Gotta say, this project had a lot of hype, but having so many members in the team and not being able to finish it, Already few years passed.
Honestly, R.I.P All the multiplayers for GTA:SA. 85% of english speaking people already left this game long ago. Now there are only bots and hackers.
|
|
|
|
| [Solved] Dynamic object stream distance |
|
Posted by: Radical - 2021-05-04, 10:47 PM - Forum: Pawn Scripting
- Replies (2)
|
 |
SOLUTION:
(2021-05-05, 03:53 PM)AbyssMorgan Wrote: I recommend this:
Code: public OnPlayerConnect(playerid){
Streamer_ToggleIdleUpdate(playerid,1);
return 1;
}
Can solve more problems with streaming.
Code: new objid =?CreateDynamicObject(4002, -1474.1728, 918.9337, 49.2299, 0.0, 0.0, 90.0, -1, -1, -1, 700.0, 700.0, -1, 1);
SetDynamicObjectMaterial(objid, ...);
I changed the stream_distance and draw_distance of this object to 700.0, but it is still not appear from distant points.
Also, if my distance to this object is 100.0, It still not appear,?I have to go to this object more.
I removed the original building and rebuilt it, but added some materials to it.
What is the problem?
Edit:
Solved.
Solution:
Code: public OnPlayerSpawn(playerid) {
? ? Streamer_Update(playerid);
|
|
|
|
| [SOLVED] How make function to turn on the vehicle lights blinks like siren alarm ? |
|
Posted by: PutuSuhartawan - 2021-05-04, 04:38 AM - Forum: Pawn Scripting
- Replies (4)
|
 |
SOLUTION:
Code: public UpdateServer(playerid)
{
? ? ? new vehicleid = GetPVarInt(playerid,"BlinkVehID"), panels, doors, lights, tires;
? ? ? if(g_vehicle_params[vehicleid][V_BLINK] == true)
? ? ? {
? ? ? ? ? ? GetVehicleDamageStatus(vehicleid, panels, doors, lights, tires);
? ? ? ? ? ?
? ? ? ? ? ? if(g_vehicle_params[vehicleid][V_BLINKING] == 1)
? ? ? ? ? ? {
? ? ? ? ? ? ? UpdateVehicleDamageStatus(vehicleid, 0, doors, 1, tires);
? ? ? ? ? ? ? g_vehicle_params[vehicleid][V_BLINKING] = 69;
? ? ? ? ? ? }
? ? ? ? ? ? else if(g_vehicle_params[vehicleid][V_BLINKING] == 69)
? ? ? ? ? ? {
? ? ? ? ? ? ? UpdateVehicleDamageStatus(vehicleid, 0, doors, 69, tires);
? ? ? ? ? ? ? g_vehicle_params[vehicleid][V_BLINKING] = 0;
? ? ? ? ? ? }
? ? ? ? ? ? else if(g_vehicle_params[vehicleid][V_BLINKING] == 0)
? ? ? ? ? ? {
? ? ? ? ? ? ? UpdateVehicleDamageStatus(vehicleid, 0, doors, 1, tires);
? ? ? ? ? ? ? g_vehicle_params[vehicleid][V_BLINKING] = 4;
? ? ? ? ? ? }
? ? ? ? ? ? else
? ? ? ? ? ? {
? ? ? ? ? ? ? UpdateVehicleDamageStatus(vehicleid, 0, doors, 4, tires);
? ? ? ? ? ? ? g_vehicle_params[vehicleid][V_BLINKING] = 1;
? ? ? ? ? ? }
? ? ? ?
? ? ? }
}
Source Pawn :?Blinking Lights.pwn
Tutorial :?Video
Problem:
function to turn on the vehicle lights so that it blinks like a siren
someone intelligent has asked. but I only know the parameter toggle lights and also neon. how do you turn on the flashing lights without fluorescent?
|
|
|
|
| ?? ?? |
|
Posted by: Gek - 2021-05-03, 08:11 PM - Forum: Other
- No Replies
|
 |
?? ??
|
|
|
|
| Problem with accent |
|
Posted by: Kameko - 2021-05-03, 06:25 PM - Forum: Pawn Scripting
- Replies (3)
|
 |
Hello, when I compile my gamemode with accent on text, that don't work. If I remove the accent it's work.. How can I fix this error?
|
|
|
|
| Long callback execution |
|
Posted by: Snow - 2021-05-02, 02:10 AM - Forum: Pawn Scripting
- Replies (9)
|
 |
I am getting tons of long callback executions in my server logs, People told me the that I need to shorten my functions and optimize the code. This is one of the functions that also detects long callback execution. So I'm gonna need an example from this to fix the long execution. Hoping to get some help here.?
Code: public OnPlayerExitVehicle(playerid, vehicleid)
{
? ? ? ? InCar[playerid] = 0;
? ? ? ? LastCar[playerid] = vehicleid;
? ? ? ? if(DeliveryMan[playerid])
? ? ? ? {
? ? ? ? ? ? for(new i; i<sizeof(BurritoSpawnInfo); i)
? ? ? ? ? ? {
? ? ? ? ? ? ? ? if(GetPlayerVehicleID(playerid) == Burrito_ID[i])
? ? ? ? ? ? ? ? {
? ? ? ? ? ? ? ? ? ? SendClientMessage(playerid, COLOR_COURIER, "* Press Y behind your vehicle to pickup the goods.");? ?
? ? ? ? ? ? ? ? }? ?
? ? ? ? ? ? }
? ? ? ? ? ?
? ? ? ? }
? ? ? ? return 1;
}
|
|
|
|
| YSI Daily Tips |
|
Posted by: Y_Less - 2021-05-01, 05:25 PM - Forum: Pawn Scripting
- Replies (44)
|
 |
YSI Daily Tips
Almost every time I mention something about YSI someone says "oh, I didn't know it could do that".? This is maybe my fault for incomplete/deleted documentation, so I'm going to start writing one random snippet about YSI every day.? Hopefully these will all help you simplify your modes and improve your scripting.? I've also ported over the tips from the old YSI Secrets thread on the SA:MP forum. If you have any suggestions, questions, or your own YSI hints, feel free to share them here.
WARNING:? Don't copy and paste the examples
In order to get both indentation and syntax highlighting showing up, the "tabs" you see are actually underscores with the same colour as the background.? If you copy text verbatim from this thread, you'll come away with extra characters you don't want.
|
|
|
|
| refresh query every 1 sec |
|
Posted by: Zow - 2021-05-01, 11:40 AM - Forum: Pawn Scripting
- Replies (4)
|
 |
I want to refresh pCoin after people refill wallet
but I don't know how to do it better
just want real time Coin after refill
Code: ptask RefreshCoinTimer[1000](playerid) {
? ? if (!LoginStatus[playerid]) {
? ? ? ? return 0;
? ? }
? ? new
? ? ? ? query[100]
? ? ;
? ? mysql_format(dbCon, query, sizeof(query),
? ? "\
? ? ? ? SELECT \
? ? ? ? ? ? pCoin \
? ? ? ? FROM \
? ? ? ? ? ? players \
? ? ? ? WHERE \
? ? ? ? ? ? ID= %d\
? ? ",
? ? ? ? PlayerInfo[playerid][pID]
? ? );
? ? mysql_tquery(dbCon, query, "RefreshCoin", "i", playerid);
? ? return 1;
}
forward RefreshCoin(playerid);
public RefreshCoin(playerid) {
? ? cache_get_value_name_int(0, "pCoin", coin);
? ? PlayerInfo[playerid][pCoin] = coin;
}
|
|
|
|
|