| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 126 online users. » 1 Member(s) | 122 Guest(s) Bing, Google, Yandex, DerekZ905
|
| Latest Threads |
HOW TO CLOSE INCOMING CON...
Forum: Questions and Suggestions
Last Post: anil_erdogan0
9 hours ago
» Replies: 0
» Views: 28
|
LS-RCR - Los Santos Rolep...
Forum: Advertisements
Last Post: Karthik
Yesterday, 05:07 PM
» Replies: 0
» Views: 35
|
mysql_samp
Forum: Plugins
Last Post: NullSablex
Yesterday, 04:46 PM
» Replies: 1
» Views: 348
|
Starting a Roleplay Serve...
Forum: Chat
Last Post: Jimmy96k
2026-05-17, 10:14 PM
» Replies: 0
» Views: 39
|
Starting a Roleplay Serve...
Forum: General Discussions
Last Post: Jimmy96k
2026-05-17, 09:56 PM
» Replies: 1
» Views: 51
|
[BETA] Renaissance DM — O...
Forum: Advertisements
Last Post: DrVandersexxx
2026-05-17, 04:15 PM
» Replies: 1
» Views: 133
|
PROJECT: RENEWAL ROLEPLAY...
Forum: Advertisements
Last Post: zin
2026-05-16, 08:26 PM
» Replies: 1
» Views: 101
|
Map Pack by: AZZO #1
Forum: Maps
Last Post: MikeNGRP
2026-05-15, 08:52 AM
» Replies: 1
» Views: 1,998
|
[balkan] Ultimate 2020 - ...
Forum: Gamemodes
Last Post: Sardena
2026-05-15, 03:12 AM
» Replies: 11
» Views: 25,216
|
🚀 Free SA-MP Hosting + Op...
Forum: Chat
Last Post: Centnodes
2026-05-12, 05:20 PM
» Replies: 0
» Views: 119
|
|
|
| Sublime Text Not Working with SAMPCTL! |
|
Posted by: Clansman - 2020-12-21, 05:50 PM - Forum: Pawn Scripting
- Replies (1)
|
 |
Every time I run sampctl package build with YSI included in my gamemode it doens't compile. Nothing shows on the console and the amx stays 0 bytes
verbose
Code: INFO: failed to get version information: reference not found
INFO: Package does not have any tags, consider versioning your code with: `sampctl package release`
INFO: clansman/myfuckingserver read package from directory /mnt/f/Games/Rockstar Games/GTA San Andreas/myfuckingserver
INFO: clansman/myfuckingserver building dependency tree and ensuring cached copies
INFO: |- clansman/myfuckingserver is parent
INFO: |- iterating 5 dependencies of clansman/myfuckingserver
INFO: |-|- github.com/sampctl/samp-stdlib ensured
INFO: |-|- iterating 1 dependencies of sampctl/samp-stdlib
INFO: |-|-|- github.com/sampctl/pawn-stdlib ensured
INFO: |-|-|- iterating 0 dependencies of sampctl/pawn-stdlib
INFO: |-|- github.com/maddinat0r/sscanf ensured
INFO: |-|- added target path for resource includes: /mnt/f/Games/Rockstar Games/GTA San Andreas/myfuckingserver/dependencies/.resources/sscanf-7b5726
INFO: |-|- ignoring platform mismatch windows
INFO: |-|- github.com/maddinat0r/sscanf is a plugin
INFO: |-|- iterating 0 dependencies of maddinat0r/sscanf
INFO: |-|- github.com/pawn-lang/[email protected] ensured
INFO: |-|- iterating 5 dependencies of pawn-lang/YSI-Includes
INFO: |-|-|- github.com/oscar-broman/md-sort ensured
INFO: |-|-|- iterating 1 dependencies of oscar-broman/md-sort
INFO: |-|-|- already visited github.com/sampctl/samp-stdlib
INFO: |-|- already visited github.com/sampctl/samp-stdlib
INFO: |-|-|- github.com/Y-Less/code-parse.inc ensured
INFO: |-|-|- iterating 0 dependencies of Y-Less/code-parse.inc
INFO: |-|-|- github.com/Y-Less/indirection ensured
INFO: |-|-|- iterating 2 dependencies of Y-Less/indirection
INFO: |-|-|- already visited github.com/sampctl/samp-stdlib
INFO: |-|-|-|- github.com/Zeex/amx_assembly ensured
INFO: |-|-|-|- iterating 0 dependencies of Zeex/amx_assembly
INFO: |-|- already visited github.com/Zeex/amx_assembly
INFO: |-|- github.com/katursis/Pawn.RakNet ensured
INFO: |-|- ignoring platform mismatch windows
INFO: |-|- github.com/katursis/Pawn.RakNet is a plugin
INFO: |-|- iterating 0 dependencies of urShadow/Pawn.RakNet
INFO: |-|- github.com/samp-incognito/samp-streamer-plugin ensured
INFO: |-|- added target path for resource includes: /mnt/f/Games/Rockstar Games/GTA San Andreas/myfuckingserver/dependencies/.resources/samp-streamer-plugin-7c00b9
INFO: |-|- ignoring platform mismatch windows
INFO: |-|- github.com/samp-incognito/samp-streamer-plugin is a plugin
INFO: |-|- iterating 0 dependencies of samp-incognito/samp-streamer-plugin
INFO: clansman/myfuckingserver flattened dependencies to 10 leaves
INFO: Checking for cached package pawn-v3.10.8-linux.tgz in /home/clansman/.samp
INFO: setting permissions for binaries
INFO: Using cached package pawn-v3.10.8-linux.tgz
INFO: using include path /mnt/f/Games/Rockstar Games/GTA San Andreas/myfuckingserver/dependencies/samp-stdlib
INFO: using include path /mnt/f/Games/Rockstar Games/GTA San Andreas/myfuckingserver/dependencies/pawn-stdlib
INFO: using include path /mnt/f/Games/Rockstar Games/GTA San Andreas/myfuckingserver/dependencies/YSI-Includes
INFO: using include path /mnt/f/Games/Rockstar Games/GTA San Andreas/myfuckingserver/dependencies/md-sort
INFO: using include path /mnt/f/Games/Rockstar Games/GTA San Andreas/myfuckingserver/dependencies/code-parse.inc
INFO: using include path /mnt/f/Games/Rockstar Games/GTA San Andreas/myfuckingserver/dependencies/indirection
INFO: using include path /mnt/f/Games/Rockstar Games/GTA San Andreas/myfuckingserver/dependencies/amx_assembly
INFO: using include path /mnt/f/Games/Rockstar Games/GTA San Andreas/myfuckingserver/dependencies/Pawn.RakNet/src
INFO: using include path /mnt/f/Games/Rockstar Games/GTA San Andreas/myfuckingserver/dependencies/.resources/sscanf-7b5726
INFO: using include path /mnt/f/Games/Rockstar Games/GTA San Andreas/myfuckingserver/dependencies/.resources/samp-streamer-plugin-7c00b9
INFO: building clansman/myfuckingserver with 3.10.8
INFO: executing compiler in /mnt/f/Games/Rockstar Games/GTA San Andreas/myfuckingserver/gamemodes as [LD_LIBRARY_PATH=/home/clansman/.samp/pawn/3.10.8 DYLD_LIBRARY_PATH=/home/clansman/.samp/pawn/3.10.8] [/home/clansman/.samp/pawn/3.10.8/pawncc /mnt/f/Games/Rockstar Games/GTA San Andreas/myfuckingserver/gamemodes/MyGM.pwn -D/mnt/f/Games/Rockstar Games/GTA San Andreas/myfuckingserver/gamemodes -o/mnt/f/Games/Rockstar Games/GTA San Andreas/myfuckingserver/gamemodes/MyGM.amx -d3 -; -( -Z -i/mnt/f/Games/Rockstar Games/GTA San Andreas/myfuckingserver/dependencies/samp-stdlib -i/mnt/f/Games/Rockstar Games/GTA San Andreas/myfuckingserver/dependencies/pawn-stdlib -i/mnt/f/Games/Rockstar Games/GTA San Andreas/myfuckingserver/dependencies/YSI-Includes -i/mnt/f/Games/Rockstar Games/GTA San Andreas/myfuckingserver/dependencies/md-sort -i/mnt/f/Games/Rockstar Games/GTA San Andreas/myfuckingserver/dependencies/code-parse.inc -i/mnt/f/Games/Rockstar Games/GTA San Andreas/myfuckingserver/dependencies/indirection -i/mnt/f/Games/Rockstar Games/GTA San Andreas/myfuckingserver/dependencies/amx_assembly -i/mnt/f/Games/Rockstar Games/GTA San Andreas/myfuckingserver/dependencies/Pawn.RakNet/src -i/mnt/f/Games/Rockstar Games/GTA San Andreas/myfuckingserver/dependencies/.resources/sscanf-7b5726 -i/mnt/f/Games/Rockstar Games/GTA San Andreas/myfuckingserver/dependencies/.resources/samp-streamer-plugin-7c00b9 DEVELOPMENT=true]
|
|
|
|
| Error - compiler - functions may not return arrays of unknown size |
|
Posted by: vandiesel45 - 2020-12-21, 02:06 PM - Forum: Pawn Scripting
- Replies (3)
|
 |
I have this errors with the latest pawn compiler
Code: error 092: functions may not return arrays of unknown size (symbol "Adrian")
that's de line:
this is stock:
Code: stock Adrian(playerid, string[], V)
{
new A, B, C;
if(!V)
{
? ? switch(random(5))
? ? {
? ? ? ? case 0: V = 1;
? ? ? ? case 1: V = 3;
? ? ? ? case 2: V = 5;
? ? ? ? case 3: V = 7;
? ? ? ? case 4: V = 9;
? ? }
? ? PlayerInfo[playerid][pLoserLevel] = V;
}
switch(V)
{
case 1:
{
A = 3;
B = 4;
C = 7;
}
case 3:
{
A = 8;
B = 9;
C = 1;
}
case 5:
{
A = 3;
B = 7;
C = 4;
}
case 7:
{
A = 1;
B = 3;
C = 9;
}
case 9:
{
A = 5;
B = 2;
C = 6;
}
}
for(new i, l = strlen(string); i < l; i)
{
switch(string[i])
{
? ? case 48..57:
{
string[i] = A;
if(string[i] > 57) string[i] -= 10;
}
? ? case 65..90:
{
string[i] = B;
if(string[i] > 90) string[i] -= 26;
}
case 97..122:
{
? ? string[i] = C;
if(string[i] > 122) string[i] -= 26;
}
}
}
return string;
}
|
|
|
|
| Virtual worlds |
|
Posted by: Ryder Sixz - 2020-12-21, 12:48 PM - Forum: Pawn Scripting
- Replies (4)
|
 |
Hello everyone! Could someone please explain virtual worlds to me ((How are they created, what is the limit, etc.))?. I read it on the wiki but it was not entirely clear to me. I would appreciate it very much, greetings to all!
|
|
|
|
| YSI INI_Load and Command_ReProcess const correctness |
|
Posted by: Jarnokai - 2020-12-21, 12:06 PM - Forum: Pawn Scripting
- Replies (1)
|
 |
Hi, I have asked about this same problem about a year ago but got no answers.
Yesterday I decided to check back on my script and found the same issue still presists, so I ask now:
I use the y_commands function "Command_ReProcess" to call commands from the script, as in "to fake commands". This means that when a player does something, I might call the command "/quitrace" for example, to make sure the player's actions don't interfere with the ongoing race they are participating.
I can no longer pass literal strings into this function, as the compiler comes up with warnings. How can I keep using the function like this while keeping the warnings away? Or am I misusing the function in some way?
Another, seemingly obvious (to me) false positive comes from using INI_Load with a pre-determined file - I load my server's saved information from a file with a static filename in the server files, but now by passing a literal string as the filename I get const correctness errors.
Any ideas to fix this?
I used sampctl ensure to check that all dependencies are at their newest version, but maybe I am doing something wrong. I never really had time to learn to use sampctl.
|
|
|
|
| (4770) : warning 213: tag mismatch |
|
Posted by: Stones - 2020-12-21, 02:01 AM - Forum: Pawn Scripting
- Replies (3)
|
 |
I'm finally returning to SAMP again after so many years, i'm just learning to code once again, not i'm getting a tag mismatch for this VIP stuff.
This is part of something that is displayed in the stats command, this is the command i'm getting the warning from.
PHP Code: SendClientMessage(playerid, COLOR_GRAY, str);
format(str, sizeof(str), "> Age: [%d] | Money: [%d] | VIP: [%s]", Character[playerid][Age], Character[playerid][Cash], VIPRANKS[Character[playerid][pVIP]][0]);
This is the SQL data saved upon registration.
PHP Code: mysql_format(SQL_CONNECTION, query, sizeof(query), "UPDATE Accounts SET Admin = %d, VIP = %d WHERE SQLID = %d LIMIT 1",
Account[playerid][Admin],
Account[playerid][pVIP],
Account[playerid][SQLID]);
And these are the ranks specifically used in as seen above
PHP Code: VIPRANKS[Character[playerid][pVIP]][0]
PHP Code: new VIPRANKS[][] =
{
"None",
"Bronze",
"Silver",
"Gold",
"Lifetime"
};
Please forgive me if i'm missing something obvious :)
|
|
|
|
| Gamemode does not save |
|
Posted by: $outh ?entral - 2020-12-20, 08:39 PM - Forum: Pawn Scripting
- Replies (1)
|
 |
So. I've been trying to edit my gamemode, but it keeps like.. overwriting itself? I don't know. No error appears.
I'm editing the gamemode .pwn, then i'm saving it and then i'm?trying to launch te server once again, but there are no changes in game, even tho i made them in the file.
I'm new in editing gamemodes, so I don't exactly know how it works.
Any help is appreciated.
Edit:
Localhost and online server seems the same. Nothing in game changes after editing the .pwn file (the server is offline when i'm editing it).
ex. I changed the welcome message and in game it appears as?the one before the change.
|
|
|
|
| I'm a bit confused |
|
Posted by: RoughDawg - 2020-12-20, 07:52 PM - Forum: General Discussions
- Replies (4)
|
 |
Hey
?
I was a bit confused about what this actually is, I read the FAQ so all the smart-ass people can f off with the "go the read..."?
is this gonna be a new multiplayer mod like SA-MP and it will have a new hosting platform like Game-MP or is this just a better version of the already existing SA-MP
|
|
|
|
| Checking aiming data real-time |
|
Posted by: c4p - 2020-12-20, 06:11 PM - Forum: Pawn Scripting
- Replies (7)
|
 |
I am working on a right-clickable NPC system. Currently I am checking if the player is aiming on the npc under onplayerupdate.
This solution is not the best, because you should move in order to open the npc's menu. Any way to instantly detect aiming? Is there a callback for aim detection?
|
|
|
|
|