Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,264
» Latest member: egirl
» Forum threads: 2,380
» Forum posts: 12,296

Full Statistics

Online Users
There are currently 285 online users.
» 1 Member(s) | 283 Guest(s)
Bing, MikeNGRP

Latest Threads
AntyCheat System [SA-MP/O...
Forum: Filterscripts
Last Post: 2PAC_
Yesterday, 09:17 PM
» Replies: 7
» Views: 8,379
Iron Horizon Roleplay[v1....
Forum: Advertisements
Last Post: MikeNGRP
2025-07-11, 11:44 PM
» Replies: 0
» Views: 28
[MAP PACK] 5 NEW LS BUILD...
Forum: Videos and Screenshots
Last Post: Apollo4430
2025-07-11, 12:20 AM
» Replies: 1
» Views: 3,342
Open.mp / SAMP Query
Forum: Releases
Last Post: laex
2025-07-09, 04:07 AM
» Replies: 2
» Views: 129
some text appearing in my...
Forum: Support
Last Post: Sizy
2025-07-08, 07:33 AM
» Replies: 0
» Views: 38
Offensive-Core: TDM
Forum: Gamemodes
Last Post: NikitaFoxze
2025-07-08, 12:13 AM
» Replies: 3
» Views: 3,682
Second Generation Rolepla...
Forum: Advertisements
Last Post: JamesT
2025-07-06, 10:28 AM
» Replies: 0
» Views: 53
Servidor RPG profissões
Forum: Advertisements
Last Post: tcharlesmeurer
2025-07-05, 11:35 PM
» Replies: 0
» Views: 35
EVO Anti-Cheat
Forum: Libraries
Last Post: Eduardo_AC
2025-07-05, 11:05 PM
» Replies: 2
» Views: 117
Developer for Hire – Syst...
Forum: Pawn Scripting
Last Post: ejtamovic
2025-07-04, 08:35 AM
» Replies: 0
» Views: 82

 
  Custom Models Question
Posted by: RoBy41 - 2021-03-15, 05:52 PM - Forum: Pawn Scripting - Replies (2)

I'd like to add custom skin models to the class selection, but once I add 20001 for example



AddPlayerClass(20001, 2511.1494,-1666.1211,13.5700,102.4142, 0, 0, 0, 0, 0, 0);



it shows up as CJ in the class selection?instead of the custom skin. How can I fix this?


  Having some errors anyone can help fix it?
Posted by: Nelixus - 2021-03-15, 01:48 PM - Forum: Pawn Scripting - Replies (1)

Hey im getting these errors:

Code:
C:\Users\MSI\Desktop\new LERG\gamemodes\LERG.LT.pwn(545) : error 009: invalid array size (negative, zero or out of bounds)

C:\Users\MSI\Desktop\new LERG\gamemodes\LERG.LT.pwn(545) : error 001: expected token: ")", but found ";"

C:\Users\MSI\Desktop\new LERG\gamemodes\LERG.LT.pwn(545) : error 036: empty statement

C:\Users\MSI\Desktop\new LERG\gamemodes\LERG.LT.pwn(545) : fatal error 107: too many error messages on one line



Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase





4 Errors.



at line:

Code:
inline registracija(pid, did, resp, litem, input[])

any ideas why im getting?


  Having some errors anyone can help fix it?
Posted by: Nelixus - 2021-03-15, 01:45 PM - Forum: Programming - Replies (2)

Hey im getting these errors:

Code:
C:\Users\MSI\Desktop\new LERG\gamemodes\LERG.LT.pwn(545) : error 009: invalid array size (negative, zero or out of bounds)
C:\Users\MSI\Desktop\new LERG\gamemodes\LERG.LT.pwn(545) : error 001: expected token: ")", but found ";"
C:\Users\MSI\Desktop\new LERG\gamemodes\LERG.LT.pwn(545) : error 036: empty statement
C:\Users\MSI\Desktop\new LERG\gamemodes\LERG.LT.pwn(545) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.

at line:
Code:
inline registracija(pid, did, resp, litem, input[])
any ideas why im getting?


  hello everyone im new here
Posted by: AndyForelli1988 - 2021-03-15, 02:59 AM - Forum: Chat - Replies (4)

what will i do in burgershot.cc website?


  [SOLVED] spawned NPC just stands normally like an actor AFK in general
Posted by: PutuSuhartawan - 2021-03-14, 11:13 AM - Forum: Pawn Scripting - Replies (4)

On top of OnPlayerConnect, OnPlayerRequestSpawn, and OnPlayerSpawn callbacks. Check the player is a NPC, then return 1.

PHP Code:

if(IsPlayerNPC(playerid)) return 1;

By doing this you are passing the NPC through the login or register.

That was working at my game mode. Thanks



Sorry, at first I managed to make the PLAYER_RECORDING_TYPE_ONFOOT NPC pawn on the server and it matches the .amx and .rec files in the NPC models. But why doesn't the NPC move like it's supposed to be exactly in the .rec file? But this spawned NPC just stands normally like an actor in general, even though if every teleportation to the NPC only changes its position and has become, sometimes the position is like at the beginning of .rec or in the final position .rec so strangely it looks like there is no animation of the path on the NPC. the.


  error 017: undefined symbol
Posted by: Boxi - 2021-03-13, 08:41 PM - Forum: Pawn Scripting - Replies (12)

Hello everyone! i have the following problem. I have been translating a GM into Spanish, I have only touched the names of the commands and the messages that users see. When I finished translating it (after several days) I compiled the gm and I got this error?with the commands that I had translated (before it did not give any error)



Code:
error 017: undefined symbol "cmd_colgar"

error 017: undefined symbol "cmd_colgar"//This is an example of one of them but it goes through more than 26 different commands.



It happens in any part of the code, regardless of the position where they are, they all give the same error. Does anyone know why? Thanks a lot.


  Command convert zcmd
Posted by: nbx2000 - 2021-03-13, 06:12 PM - Forum: Pawn Scripting - Replies (1)

I have tried to change to zcmd and there is no command, they help me to convert it to zcmd only



Code:
public OnPlayerCommandText(playerid, cmdtext[])

{

? ? new string[256], cmd[256], tmp[256], giveplayerid, idx;

? ? cmd = strtok(cmdtext, idx);

? ? if(strcmp(cmd, "/duel", true) == 0)

{

if(PlayerInDuel[playerid] == 1) return SendClientMessage(playerid, -1, "You are already in a duel");

if(DuelPlaceVisit) return SendClientMessage(playerid, -1, "Wait until the duel becomes free.");

tmp = strtok(cmdtext, idx);

? if(!strlen(tmp)) return SendClientMessage(playerid, -1, "duel [player id] [weapon id] [stake]");

? giveplayerid = strval(tmp);

? tmp = strtok(cmdtext, idx);

? if(!strlen(tmp)) return SendClientMessage(playerid, -1, "Usage: / duel [player id] [weapon id] [stake]");

? WeaponDuel = strval(tmp);

? if(WeaponDuel < 0 || WeaponDuel > 42) return SendClientMessage(playerid, -1, "You entered the wrong weapon id. Use id from 0 to 42");

? tmp = strtok(cmdtext, idx);

? if(!strlen(tmp)) return SendClientMessage(playerid, -1, "Usage: / duel [player id] [weapon id] [stake]");

? MoneyDuel = strval(tmp);

? if(MoneyDuel < 100 || MoneyDuel > 1000) return SendClientMessage(playerid, -1, "You entered the wrong bet amount. Use an amount from $ 1 to $ 100,000");

? if(MoneyDuel > GetPlayerMoney(playerid)) return SendClientMessage(playerid, -1, "You are missing a bet. Specify a different amount");

if(MoneyDuel > GetPlayerMoney(giveplayerid)) return SendClientMessage(playerid, -1, "Your opponent is missing a bet. Specify a different amount!");

if(IsPlayerConnected(giveplayerid))

? {

? ? ? if(playerid == giveplayerid) return SendClientMessage(playerid, -1, "You cannot apply this action to yourself.");

? if(PlayerInDuel[giveplayerid] == 1) return SendClientMessage(playerid, -1, "This player is already in a duel..");

? ? GetDuelCreate[giveplayerid] = playerid;

? ? ? ? format(string, sizeof(string), "You have successfully invited player {9DDAF2}%s {FFFFFF} to a duel! Wait for an answer", pNick(giveplayerid));

? ? ? ? SendClientMessage(playerid, -1, string);

? ? ? ? format(string, sizeof(string), "{ff0000}You Have Challenged %s To A 1v1 Duel!\nInfo Duel Weapon(id): %d Bet:$ %d !", pNick(playerid), WeaponDuel, MoneyDuel);

? ? ? ? ShowPlayerDialog(giveplayerid, DUEL_ID, DIALOG_STYLE_MSGBOX, "{ff0000}[xEF]DUEL", string, "Accept", "Decline");

? ? ? }

? else

? {

? SendClientMessage(playerid, -1, "The player with the ID you specified was not found");

? }

? return 1;

}

return 0;

}


  samp-admin-system
Posted by: Emmett - 2021-03-13, 04:01 AM - Forum: Libraries - Replies (1)

WIP - https://github.com/emmett-white/samp-admin-system


  [Ajuda] Jogadores mobile
Posted by: Will_33 - 2021-03-13, 01:54 AM - Forum: Portuguese/Portugu?s - Replies (2)

Fala galera, estou hosteando um servidor tdm e o primeiro problema que tive com os players que vem do android foi que estes estavam invulner?veis. Colocando lagcomp 1 resolveu o problema, mas agora muitos destes crasham direto, alguns aleat?riamente, alguns quando morrem. Existe alguma lista de scripts que causam crash dos mobile?


  Help with sampctl and Docker
Posted by: robertocaribbean - 2021-03-12, 07:28 PM - Forum: Programming - Replies (3)

Hi there,

sampctl works perfectly in my local machine, but when I try to use the power of Docker, I'm facing with an error.

Steps I followed:

  • Enable virtualization on BIOS and Hyper-v on Windows 10.
  • Install Docker Desktop
  • Add my administrator account to docker-users group.
  • Pull sampctl from docker hub.

Now, the problem is when I try to initialize a package like so:

Code:
docker run southclaws/sampctl package init

I get this error (I think is better if I share an image):
[Image: mCNzFhH.png]

Already tried:
  • Clean / Purge data from Docker Desktop.
  • Reinstall Docker Desktop.
  • Use another sampctl version, but throws that I need the last recent version.

EDIT: Well, I'm trying with a ubuntu image, downloaded sampctl and all works fine. But when I try "sampctl package build" throws an error
Code:
failed to compile package entry: exit status 255
This happens with others compiler version as well.

SOLUTION: If you've been troubled with the same error, run:
Code:
apt-get install gcc gcc-multilib make cmake