| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 350 online users. » 0 Member(s) | 347 Guest(s) Bing, Baidu, Google
|
|
|
| Map editor |
|
Posted by: TheFlash - 2021-06-13, 05:47 AM - Forum: Support
- No Replies
|
 |
Hi there
I was trying to install ingame map editor plenty of times without any success may someone help me installing the ingame version? ill be so thankful for him
|
|
|
|
| Car Respawn |
|
Posted by: dondo - 2021-06-12, 01:07 PM - Forum: Pawn Scripting
- Replies (1)
|
 |
Heyo,
qick question:?does anyone know how i can destroy a car after it explode??So that it wont respawn. ??
greetz,
dondo!
|
|
|
|
| [Solved] Send a message on multiple lines [text length more than 144] |
|
Posted by: Radical - 2021-06-08, 01:05 PM - Forum: Pawn Scripting
- Replies (1)
|
 |
I'm looking for that function, if the text length is more than 144 letters, Send it in two messages.
Thanks
SOLUTION:
(2021-06-09, 08:48 AM)Pinch Wrote: https://www.burgershot.gg/showthread.php?tid=748
I maked this function but it does not work as I wanted.?
This separates the word between strings 144
burgershot >>
burg ..
.. ershot
Code: SendClientMessageToAllEx(color, const text[]) {
? ? new
? ? ? ? message[144];
? ?
? ? strcat(message, text);
? ? new
? ? ? ? lentgh = strlen(message);
? ? if (lentgh >= 143) {
? ? ? ? new
? ? ? ? ? ? message_2[144];
? ? ? ? format(message_2, sizeof message_2, ".. %s", message[139]);
? ? ? ? strdel(message, 139, lentgh);
? ? ? ? strcat(message, " ..");
? ? ? ? SendClientMessageToAll(color, message);
? ? ? ? SendClientMessageToAll(color, message_2);
? ? } else
? ? ? ? SendClientMessageToAll(color, message);
? ? return 1;
}
|
|
|
|
| [SUGGESTION] IPv6 support? |
|
Posted by: Jyottabyte - 2021-06-06, 10:39 AM - Forum: General Discussions
- Replies (1)
|
 |
I tried to add a random IPv6 address to 0.3.7?SA-MP client but it does not recognize the IP because ":" is detected as the port symbol, which is not the case in IPv6 addresses. I did not try with a hostname, but looks like IPv6 support isn't baked in.
Suggestion to consider adding IPv6 support to Open MP client.
|
|
|
|
| In-Game teleport creation tool |
|
Posted by: BrycieBoi - 2021-06-06, 10:17 AM - Forum: Releases
- No Replies
|
 |
Hi, new member here.
Wrote a simple in-game teleport creation tool. Currently /savetele is not limited to admins, but this can be added easily.
How to use:
/savetele <name> : Saves a teleport location to scriptfiles/Custom Teles.
/teles : Displays a list dialog of all saved teleports. Selecting one will teleport the player to it's location (with vehicle if applicable).
/tele <name> : Teleports player to saved teleport with <name> (shortcut version of '/teles').
Dependencies:
Dini
zcmd
sscanf2
Installation:
1) Compile CustomTeleports.pwn and add CustomTeleports to filterscripts in server.cfg
2) Create a directory named 'Custom Teles' inside the scriptfiles directory
Download
Feel free to make any changes you like.
|
|
|
|
| 'inject' Modes to gta_sa/SA-MP?? |
|
Posted by: redex - 2021-06-06, 06:26 AM - Forum: Programming
- Replies (2)
|
 |
hi, i am working on a custom SA-MP launcher for my server, its an anti cheat now i want to do something more, i want to add some modes and stuff, like skins or other modes, now i want to it only load when user is opening gta_sa with my launcher, so i dont want to just put some stuff in game folder , how can i do something like injecting that files ? for example i just downloaded a mode that have 2 files , tff and dff (if i got that right) how can i inject this model files to game? or another example i just downloaded a radar mode, it said i should replace the IMG files to gta3.img , how can i do that ONLY when user opening game with launcher?
i seen this thing in other servers so i guess its possible, by the way i used C# for the launcher
|
|
|
|
| QUESTION about MYSQL |
|
Posted by: redex - 2021-06-05, 11:35 AM - Forum: Pawn Scripting
- Replies (2)
|
 |
hi , i was wonder which one is better to use for getting player data from database when he logged-in , i have about user in my data base and i have to select user from this amount of users , currently i use something like this :
pInfo[playerid][score] = mysql_get ...
pInfo[playerid][skinid] = mysql_get ...
pInfo[playerid][money] = mysql_get ...
i mean i have 1 query per item! and i think this will make server LAG , should i get all items in a SELECT * query and then put them in variables? does it make any diffrent to avoid lag ? sorry i know my english is AWFUL but i guess i made my point!
|
|
|
|
|