| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 7,925
» Latest member: mrg18755
» Forum threads: 2,405
» Forum posts: 12,321
Full Statistics
|
| Online Users |
There are currently 316 online users. » 0 Member(s) | 312 Guest(s) Yandex, Bing, Baidu, Google
|
| Latest Threads |
(PC/Mobil) PrimeTurk CnR ...
Forum: Advertisements
Last Post: Shacous
2026-02-12, 04:08 PM
» Replies: 0
» Views: 42
|
(PC/Mobil) PrimeTurk CnR ...
Forum: Turkish
Last Post: Shacous
2026-02-12, 04:04 PM
» Replies: 0
» Views: 32
|
Consulta warning mismatch...
Forum: Programaci?n
Last Post: bttwsky
2026-02-12, 03:46 PM
» Replies: 0
» Views: 38
|
problem dialog clan membe...
Forum: Pawn Scripting
Last Post: sanmartinjorquerapablo
2026-02-12, 02:15 AM
» Replies: 3
» Views: 192
|
Hobby War Server (Open to...
Forum: Advertisements
Last Post: blackwolf4278
2026-02-11, 12:22 AM
» Replies: 0
» Views: 45
|
PROJECT: LOS ANGELES — TH...
Forum: Advertisements
Last Post: DevonH
2026-02-08, 05:53 PM
» Replies: 12
» Views: 1,443
|
open.mp ready DayZ gamemo...
Forum: Gamemodes
Last Post: Bombo
2026-02-08, 07:50 AM
» Replies: 0
» Views: 142
|
samp-essentials
Forum: Libraries
Last Post: 1NS
2026-02-07, 12:51 PM
» Replies: 0
» Views: 119
|
Unban
Forum: Chat
Last Post: stryzo125
2026-02-06, 11:59 PM
» Replies: 2
» Views: 311
|
It has been a while
Forum: Chat
Last Post: Mauzen
2026-02-06, 08:36 PM
» Replies: 0
» Views: 108
|
|
|
| Next and back button for dialogs. |
|
Posted by: Stefhan - 2020-03-24, 05:51 PM - Forum: Pawn Scripting
- Replies (4)
|
 |
I have been trying to add a next/back button?to this dialog for every 10 results. So far, I haven't managed to do it, hence I reverted the code back to the version without that.
Can anyone help me figure this out? There's really no good guide on this.
Code: ? ? ? ?case E_WARP_DIALOG_EXTS:
? ? ? ?{
? ? ? ? ? ?new warpstr[2000];
? ? ? ? ? ?format(warpstr, sizeof warpstr, INLINE[COLOR_SPOPT]"ID\t" INLINE[COLOR_SPOPT]"Name\n");
? ? ? ? ? ?for(new i = 0; i < MAX_WARPS; i)
? ? ? ? ? ?{
? ? ? ? ? ? ? ?if(!g_WarpsInfo[i][E_WARP_EXISTS])
? ? ? ? ? ? ? ? ? ?continue;
? ? ? ? ? ? ? ?if(g_WarpsInfo[i][E_WARP_CATEGORY] != 1) // 1 is the category ID for exteriors
? ? ? ? ? ? ? ? ? ?continue;
? ? ? ? ? ? ? ?else
? ? ? ? ? ? ? ? ? ?format(warpstr, sizeof(warpstr), "%s" INLINE[COLOR_OPTION] "#%d\t" INLINE[COLOR_OPTION] "%s\t\n", warpstr, i, g_WarpsInfo[i][E_WARP_NAME]);
? ? ? ? ? ?}
? ? ? ? ? ?inline DialogResponse_2(_playerid, dialogid, response, listitem, inputtext[])
? ? ? ? ? ?{
? ? ? ? ? ? ? ?#pragma unused dialogid, listitem
? ? ? ? ? ? ? ?if(!response)
? ? ? ? ? ? ? ?{
? ? ? ? ? ? ? ? ? ?WARPS_TeleportList(_playerid, E_WARP_DIALOG_MAIN);
? ? ? ? ? ? ? ?}
? ? ? ? ? ? ? ?if(response)
? ? ? ? ? ? ? ?{
? ? ? ? ? ? ? ? ? ?new str[256], warp_id;
? ? ? ? ? ? ? ? ? ?sscanf(inputtext[1],"d",warp_id);
? ? ? ? ? ? ? ? ? ?DelayedTeleport(playerid, g_TeleportDelay, g_WarpsInfo[warp_id][E_WARP_POS][0], g_WarpsInfo[warp_id][E_WARP_POS][1], g_WarpsInfo[warp_id][E_WARP_POS][2]\
? ? ? ? ? ? ? ? ? ?,?g_WarpsInfo[warp_id][E_WARP_POS][3], g_WarpsInfo[warp_id][E_WARP_WORLD], g_WarpsInfo[warp_id][E_WARP_INT]);
? ? ? ? ? ? ? ? ? ?format(str, sizeof(str), "%s %s(%d) has warped to %s(%d).", ReturnStaffLevel(playerid), ReturnICName(playerid), playerid, g_WarpsInfo[warp_id][E_WARP_NAME], warp_id);
? ? ? ? ? ? ? ? ? ?ABroadCast(COLOR[COLOR_SADMIN], str, 1);
? ? ? ? ? ? ? ?}
? ? ? ? ? ?}
? ? ? ? ? ?Dialog_ShowCallback(playerid, using inline DialogResponse_2, DIALOG_STYLE_TABLIST_HEADERS, INLINE[COLOR_HEADER] "Exterior Warps", warpstr, "Teleport", "Return");
? ? ? ?}
|
|
|
|
| textdraw editors |
|
Posted by: Metro - 2020-03-15, 01:40 PM - Forum: Pawn Scripting
- Replies (1)
|
 |
how do people create textdraws nowadays? I have the full sampctl setup and all that but trying to install textdraw editors makes me kill myself because they don't even compile due to standard library conflicts and whatnot
is there anyone here who uses textdraw editors using sampctl who could help? i've had no luck so far
|
|
|
|
[Dudas] |
|
Posted by: whislire - 2020-03-12, 05:08 AM - Forum: Spanish/Espa?ol
- Replies (1)
|
 |
Buenas noches a todos mi consulta es al siguiente he comenzado a editar una gamemode que trabaja con m?dulos es necesario compilar con un programa aparte (?)
desde ya muchas gracias :D
|
|
|
|
| Coronavirus thread |
|
Posted by: Metro - 2020-03-11, 08:34 AM - Forum: Chat
- Replies (11)
|
 |
So we all know what the deal is
How are you guys holding up?
Over here in Italy it's pretty bad, some regions are in quarantine and since a few days ago the whole country's been on lockdown. Most businesses are closed, I haven't been to school in weeks now and in some places there's even police patrols going around with megaphones telling people to stay inside
pretty spooky stuff, but i've taken the occasion to get some dust off my samp scripting
|
|
|
|
| What map editor do you guys use? |
|
Posted by: Metro - 2020-03-09, 04:39 PM - Forum: Pawn Scripting
- Replies (2)
|
 |
I've looked for more modern and comfortable map editors through the forums but everyone still seems to use the ancient godawful SAMP Map Editor.?
What map editor do you guys use? Is there any editor you would recommend due to its more user friendly interface and features?
|
|
|
|
| [MAP] Drug Tunnel |
|
Posted by: DeadDon - 2020-03-09, 11:48 AM - Forum: Videos and Screenshots
- Replies (5)
|
 |
Recently I've been starting to work on a Narcos project with Abruzzi, I also started to renew a 2 year old gamemode of mine and I've mad this map which will be implemented in both projects.
The map is 0.3.7. although it gets you from the interior to the outside world.
From the strip bar, you have to go through the basement of the bar, to enter the long tunnel and to reach the basement of a warehouse, which leads you up through an elevator (no teleporation needed)...
If you want to test the map or consider collaborating with me on the project, you can also visit my discord:
|
|
|
|
| [Ayuda] Limitador de velocidad |
|
Posted by: ThePez - 2020-03-02, 07:39 PM - Forum: Programaci?n
- Replies (2)
|
 |
Buenos d?as
He estado investigando como hacer un limitador de velocidad, es decir
cuando un jugador ejecute un comando estando en un veh?culo,?
no puede tener mas velocidad que la establecida por el.
/limitador [velocidad]
[velocidad] es la velocidad m?xima?alcanzada por el veh?culo
para ello encontr? una funci?n
PHP Code: SetVehicleVelocity(vehicleid, Float:X, Float:Y, Float:Z);
Aun no se como implementarla.
como comprobar para que direccion esta yendo.
PHP Code: CMD:limitador(playerid, params[])
{
? ? if(!sscanf(params, "d", velocidad))
? ? {
? ? ? ??new vehicleid =?GetPlayerVehicleID(playerid);
? ?? ? ?SetVehicleVelocity(vehicleid, velocidad, velocidad, velocidad);
? ??}
}
En este CMD hay varios errores, falta comprobar si esta en un veh?culo y si la velocidad es mas alta de lo que puede ir en realidad el vehiculo.
no se me ocurre una forma de lograr esto.
|
|
|
|
| [MAP] SpaceShip Interior |
|
Posted by: DeadDon - 2020-03-01, 03:55 PM - Forum: Videos and Screenshots
- Replies (1)
|
 |
I'm DeadDon aka Gramfather (i.g),?I haven't done mapping in quite some time because of studies. Got this idea, had some free time, said why the f not.?
Currently it's just the main room, but the map can easily be expanded into a very huge spaceship.
All objects are GTA/SA-MP objects, map is completely 0.3.7 . Let me know what you think.
It would be nice for somebody to make a "inter-galactic"/star-trek/star-wars server, now that it's doable with 0.3dl as well.
|
|
|
|
|