| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 399 online users. » 0 Member(s) | 397 Guest(s) Bing, Google
|
| Latest Threads |
Il reste des français sur...
Forum: French/Fran?ais
Last Post: Lionel62300
1 hour ago
» Replies: 3
» Views: 3,918
|
Rttdm
Forum: Advertisements
Last Post: Bright
Yesterday, 12:36 PM
» Replies: 0
» Views: 27
|
Verona Community open ser...
Forum: Advertisements
Last Post: pmemorex2016
2026-01-21, 01:47 PM
» Replies: 0
» Views: 85
|
Verona Community otvaranj...
Forum: Ex-Yu
Last Post: pmemorex2016
2026-01-21, 01:43 PM
» Replies: 0
» Views: 88
|
Aurora RP/CNR
Forum: Advertisements
Last Post: Kewun
2026-01-21, 07:24 AM
» Replies: 0
» Views: 60
|
GameText styles in open.m...
Forum: Pawn Scripting
Last Post: Kar
2026-01-21, 03:53 AM
» Replies: 3
» Views: 1,379
|
Asking something
Forum: General Discussions
Last Post: ALE11
2026-01-20, 03:49 PM
» Replies: 0
» Views: 64
|
PROJECT: LOS ANGELES — TH...
Forum: Advertisements
Last Post: DevonH
2026-01-18, 07:01 PM
» Replies: 11
» Views: 1,266
|
After School Roleplay - L...
Forum: Advertisements
Last Post: cosminupgaming
2026-01-18, 05:50 PM
» Replies: 10
» Views: 936
|
Las Venturas Gang Wars - ...
Forum: Advertisements
Last Post: lvgwgta
2026-01-17, 08:36 PM
» Replies: 0
» Views: 64
|
|
|
| Seamless Interior Integration |
|
Posted by: Xyranaut - 2023-08-19, 06:29 AM - Forum: Questions and Suggestions
- No Replies
|
 |
I suggest blending indoor spaces seamlessly into the big world of GTA San Andreas, drawing inspiration from a previous mod called Open San Andreas (https://youtu.be/Xy2yD5eHy40). This new idea could be really helpful for the open-source community, helping us reach a level similar to what we see in GTA IV and GTA V. Those games manage to mix the outside and inside of buildings really well.
Something similar was tried in SA:MP. They changed the texture of a building near L.S Beach Side when you use SA:MP, so you can go inside.
To start, we could work on CJ's safe houses. After that, we could move to places he often visits like Grove Street and the Police Stations. Later on, we could expand to cover other important areas too.
|
|
|
|
| MySQL query doesn't trigger my function |
|
Posted by: dock - 2023-08-16, 05:43 PM - Forum: Pawn Scripting
- Replies (1)
|
 |
Hello,
I've been trying to make a command that's gonna read my logs table on my MySQL database...
Here is the code
PHP Code: if (!strcmp(by, "Account", true)) { format(conditions, sizeof(conditions), "WHERE `Account` "); } else if (!strcmp(by, "ToAccount", true)) { format(conditions, sizeof(conditions), "WHERE `ToAccount` "); } else if (!strcmp(by, "Text", true)) { format(conditions, sizeof(conditions), "WHERE `Log` "); }
if (contains == 1) { format(conditions, sizeof(conditions), "%sLIKE '%", conditions); format(conditions, sizeof(conditions), "%s%s", conditions, search); format(conditions, sizeof(conditions), "%s%%'", conditions); } else { format(conditions, sizeof(conditions), "%s= '%s' ", conditions, search); }
new query[1024]; format(conditions, sizeof(conditions), "%sAND lt.LogType = '%s' ORDER BY Timestamp %s LIMIT %d", conditions, logtype, order, resultNo); mysql_format(g_SQL, query, sizeof(query), "SELECT * FROM `logs` AS l JOIN `logtypes` AS lt ON l.LogType = lt.LogTypeId %e", conditions); mysql_tquery(g_SQL, query, "LogSearchResults", "d", playerid);
The function LogSearchResults doesn't even get triggered. I printed out the query and got something that returns results when I run it manually..
Any ideas? :(
This is the print out i got:
PHP Code: SELECT * FROM `logs` AS l JOIN `logtypes` AS lt ON l.LogType = lt.LogTypeId WHERE `Account` = 'dock' AND lt.LogType = 'localchat' ORDER BY Timestamp desc LIMIT 50
|
|
|
|
| Sun City Roleplay - Drift, Mystery, and Intrigue in a Japanese Adventure! |
|
Posted by: yassinwasaround - 2023-08-07, 04:07 PM - Forum: Advertisements
- No Replies
|
 |
Ignite your passion for drifting and showcase your skills as you tear through scenic mountain passes and weave through the bustling city streets. Sun City Roleplay offers an English text-based heavy roleplay server
Immerse yourself in a vast and meticulously crafted world[/color][/b] where the art of drifting seamlessly intertwines with the shadows cast by the Yakuza organizations. Dive deep into the intricate plots, political machinations, and clandestine dealings of powerful Yakuza factions. Forge alliances, navigate betrayals, and rise through the ranks to claim your place as a formidable force in the criminal underworld.
If you seek the pursuit of justice and order, join the prestigious ranks of Law Enforcement (LOA) factions. Engage in meticulous investigations, daring operations, and intense standoffs with the Yakuza. The fate of Sun City rests in your hands as you uphold the law and protect the innocent from the ever-looming threat of organized crime.
📜 At Sun City Roleplay, we prioritize heavy-roleplay and storytelling. Our community of passionate roleplayers creates dynamic and intricate narratives that will captivate your imagination and keep you on the edge of your seat.
Join our newly established server and become part of a mature and dedicated community of heavy-roleplayers[/color][/b]. Whether you're a seasoned roleplaying veteran or a newcomer seeking to dive deep into immersive storytelling, we welcome you with open arms.
Enough reading, it's time to step into the world of Sun City and shape your destiny!
HostName: [EN][03DL] Sun City Roleplay
Address: TBA.
⛓ Join our Discord: https://discord.gg/CMjmqyKKkk
Need any help? Contact howabouthatt in Discord.
Need more? Here are some screenshots!
![[Image: sa-mp-061.png?width=760&height=427]](https://media.discordapp.net/attachments/1138006437507907626/1138006438489358346/sa-mp-061.png?width=760&height=427)
![[Image: sa-mp-009.png?width=760&height=427]](https://media.discordapp.net/attachments/1138006437507907626/1138006449134518332/sa-mp-009.png?width=760&height=427)
![[Image: sa-mp-010.png?width=760&height=427]](https://media.discordapp.net/attachments/1138006437507907626/1138006449939816548/sa-mp-010.png?width=760&height=427)
![[Image: sa-mp-018.png?width=760&height=427]](https://media.discordapp.net/attachments/1138006437507907626/1138006451785310269/sa-mp-018.png?width=760&height=427)
![[Image: sa-mp-015.png?width=760&height=427]](https://media.discordapp.net/attachments/1138006437507907626/1138006451110035536/sa-mp-015.png?width=760&height=427)
![[Image: sa-mp-014.png?width=760&height=427]](https://media.discordapp.net/attachments/1138006437507907626/1138007525254516756/sa-mp-014.png?width=760&height=427)
![[Image: sa-mp-026.png?width=760&height=427]](https://media.discordapp.net/attachments/1138006437507907626/1138007524797317140/sa-mp-026.png?width=760&height=427)
|
|
|
|
| SAMP | Comedy Club Interior |
|
Posted by: mirsat24 - 2023-07-30, 07:41 PM - Forum: Videos and Screenshots
- No Replies
|
 |
Comedy Club
You see the Comedy Club map with its unique decoration. The map provides a different role opportunity for those who do business roles. It is designed for players to have a pleasant time.
You can DM me from Discord : mirsat24
Whats in the Comedy Club
- There is a "Lobby" and "Reception" at the entrance of the Comedy Club.
- When you leave the lobby, a large hall welcomes you. To the right of the hall there is a Bar that people can use.
- For those who work at the bar, it is done through the door in the lobby at the entrance.
- There is a dressing room for extra employees.
- There are tables and chairs in the hall for you to watch the show overlooking the stage.
- The doors on the side are used to enter the stage.
- On the way to the stage there is a small preparation room for the preparation of comedians.
Video of the Map
[Video: https://youtu.be/wtgyg6zhX7c]
|
|
|
|
| I need help with Assembly (#emit or __emit) |
|
Posted by: Otakeiro - 2023-07-26, 09:29 PM - Forum: Pawn Scripting
- Replies (1)
|
 |
I want to make a simple hook through the #emit
PHP Code: native CallLocalFunction(const funcname[], const format[], {Float,_}:...); native printf(const output[], {Float,_}:...);
stock __CallLocalFunction(const funcname[], const format[], {Float,_}:...) { static retval; if(funcidx(funcname) == -1) { retval = 0; printf("Function not defined: %s.\n", funcname); } else { if(numargs() == 2) { retval = CallLocalFunction(funcname, format); } else { // "emit" code to call function with args and return value to "retval" } } return retval; }
I've tried using codes like SendClientMessageEx or EasyDialog, but I need it to return the value
If possible comment the code so I can study it
|
|
|
|
| Error 010: invalid funciton or declaration |
|
Posted by: DDRfx10 - 2023-07-23, 10:43 AM - Forum: General Discussions
- Replies (1)
|
 |
Hello, I've been trying to make a gamemode for SA-MP, and in a command for giving yourself a weapon "/weapon" I get the 010 error. No matter what I do, nothing fixes it.
Log:
D:\SAMPSERVER\gamemodes\COI.pwn(245) : error 055: start of function body without function header
D:\SAMPSERVER\gamemodes\COI.pwn(248) : error 010: invalid function or declaration
D:\SAMPSERVER\gamemodes\COI.pwn(249) : error 010: invalid function or declaration
D:\SAMPSERVER\gamemodes\COI.pwn(250) : error 010: invalid function or declaration
D:\SAMPSERVER\gamemodes\COI.pwn(252) : warning 203: symbol is never used: "ammo"
D:\SAMPSERVER\gamemodes\COI.pwn(252) : warning 203: symbol is never used: "weaponid"
Pawn compiler 3.10.4 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
Part of the code which Pawno is referring to:
244: CMD:weapon(playerid, params[]);
245: {
246: new weaponid, ammo;
247:
248: if(sscanf(params, "ii", weaponid, ammo))
249: return ClientMSG(playerid, COL_SUNYELLOW, "Usage: /weapon [ID] [AMMO]
250: return 1;
251: }
I was making the command, so that's why it looks incomplete.
Can someone help me with this?
|
|
|
|
|