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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,247
» Latest member: JamesT
» Forum threads: 2,378
» Forum posts: 12,290

Full Statistics

Online Users
There are currently 345 online users.
» 0 Member(s) | 342 Guest(s)
Yandex, Bing, Google

Latest Threads
Second Generation Rolepla...
Forum: Advertisements
Last Post: JamesT
51 minutes ago
» Replies: 0
» Views: 6
How to compile pawn scrip...
Forum: Tech
Last Post: reynoldschicago
2 hours ago
» Replies: 1
» Views: 738
Servidor RPG profissões
Forum: Advertisements
Last Post: tcharlesmeurer
11 hours ago
» Replies: 0
» Views: 7
Servidor novo RPG profiss...
Forum: Chat
Last Post: tcharlesmeurer
11 hours ago
» Replies: 0
» Views: 9
EVO Anti-Cheat
Forum: Libraries
Last Post: Eduardo_AC
Yesterday, 11:05 PM
» Replies: 2
» Views: 23
Developer for Hire – Syst...
Forum: Pawn Scripting
Last Post: ejtamovic
2025-07-04, 08:35 AM
» Replies: 0
» Views: 40
Liberty City map
Forum: Pawn Scripting
Last Post: ziyadprogamer
2025-06-28, 04:55 PM
» Replies: 2
» Views: 2,168
GameText styles in open.m...
Forum: Pawn Scripting
Last Post: Miki
2025-06-28, 01:25 PM
» Replies: 1
» Views: 54
Script[gamemodes/gamemode...
Forum: Pawn Scripting
Last Post: Miki
2025-06-27, 05:08 PM
» Replies: 1
» Views: 433
Want to edit my profile n...
Forum: Chat
Last Post: Hera.
2025-06-26, 08:41 PM
» Replies: 1
» Views: 582

 
Question How to fix dark skin issue on SAMP class selection in pawn?
Posted by: goldprince - 2021-02-14, 04:28 PM - Forum: Programming - Replies (5)

Hello Everyone,
? ? ? ? ? ? ? ? ? ? ? ? ? ?I'm working on a SAMP server using pawn language, but I've started facing an issue since I started work on SAMP player skin selection class. The issue is when a player request's a class all skins becomes darker.

Code:
#include <a_samp>

main() {

}

public OnGameModeInit() {
    SetWeather(10);
    SetWorldTime(12);
    AddPlayerClass(1, -1479.434082, 920.448730, 71.350372, 288.652161, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(2, -1479.434082, 920.448730, 71.350372, 288.652161, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(3, -1479.434082, 920.448730, 71.350372, 288.652161, 0, 0, 0, 0, 0, 0);
    return 1;
}

public OnPlayerRequestClass(playerid, classid) {
    SetPlayerPos(playerid, -1479.434082, 920.448730, 71.350372);
    SetPlayerFacingAngle(playerid, 288.652161);
    SetPlayerCameraPos(playerid, -1474.420288, 922.672607, 72.009903);
    SetPlayerCameraLookAt(playerid, -1475.333984, 922.266418, 71.999748);
    return 1;
}

Screenshot Of The Issue:
[Image: ApgJX.jpg]

Screenshot Of The Expected Results:
[Image: 23ttM.jpg]

As you can see in the first screenshot the player skin is darker then normal.

What I have tried:?
I have tried rearranging the code, like calling SetPlayerCameraPos() before SetPlayerPos().
I have also tried using a timer to add a delay before setting player pos and camera pos.
I have also tried using TogglePlayerSpectating()?method to make sure every things gets loaded with player's camera.
But still same result.

If you know any solution for this problem please share.

Thank You,


Shocked Trucking mission issue
Posted by: JohnnyMP - 2021-02-13, 07:17 PM - Forum: Pawn Scripting - Replies (3)

Hello guys,?



i starded making some trucking missions in my server and all i got for now is that when player types /work server checks few things like is player wanted or is player in truck with trailer attached and then it picks random mission and put mission load cp for player.



My question is next : How to make player able to choose from few closest Load points to his position ?



If anyone played on Convoy Trucking im trying to make same thing because its kinda bad if u are in LS and u start ur truck mission there but u get ur load point in SF.


  Weird problem with cmd
Posted by: morem - 2021-02-13, 11:09 AM - Forum: Support - Replies (4)

Hi,

I have a problem with/handsup cmd.

When a player is?freeze and use /handsup cmd, the player got unfreeze

The Weirdest?thing for me is I don't have any cmd like this!

Does anyone have any idea?


Exclamation [Ayuda] Urgente
Posted by: Kaiser - 2021-02-13, 04:39 AM - Forum: Programaci?n - Replies (1)

Tengo un error al iniciar el servidor en un host, la GM es con MySQL, y creo que parece haber un error de conexi?n, o realmente no s? que podr?a ser en verdad, aqu? dejo lo que marca en el log al encender el servidor, cuando enciendo el servidor desde XAMPP me va perfecto sin errores, pero por el host me manda tremenedo error.



Code:
Loaded log file: "server_log.txt".

----------



SA-MP Dedicated Server

----------------------

v0.3.7-R2, (C)2005-2015 SA-MP Team



[22:09:20]

[22:09:20] Server Plugins

[22:09:20] --------------

[22:09:20]? Loading plugin: mysql.so

[22:09:20]? Failed (libmysqlclient_r.so.16: cannot open shared object file: No such file or directory)

[22:09:20]? Loading plugin: sscanf.so

[22:09:20]



[22:09:20]? ===============================



[22:09:20]? ? ? sscanf plugin loaded.? ?



[22:09:20]? ? ? ? ? Version:? 2.8.3? ? ? ?



[22:09:20]? (c) 2018 Alex "Y_Less" Cole?



[22:09:20]? ===============================



[22:09:20]? Loaded.

[22:09:20]? Loading plugin: crashdetect.so

[22:09:20]? CrashDetect v4.18.1 is OK.

[22:09:20]? Loaded.

[22:09:20]? Loading plugin: streamer.so

[22:09:20]



*** Streamer Plugin v2.9.4 by Incognito loaded ***



[22:09:20]? Loaded.

[22:09:20]? Loaded 3 plugins.



[22:09:20]

[22:09:20] Filterscripts

[22:09:20] ---------------

[22:09:20]? Loading filterscript 'MAPEOS.amx'...

[22:09:20]? Loading filterscript 'random.amx'...

[22:09:21]? Loading filterscript 'Multinombres.amx'...

[22:09:21]

--------------------------------------

[22:09:21] Multinombres by Woorlich y yor

[22:09:21] --------------------------------------



[22:09:21]? Loaded 3 filterscripts.



[22:09:21] [debug] Run time error 19: "File or function is not found"

[22:09:21] [debug]? mysql_connect

[22:09:21] [debug]? mysql_errno

[22:09:21] [debug]? mysql_tquery

[22:09:21] [debug]? mysql_format

[22:09:21] [debug]? mysql_query

[22:09:21] [debug]? cache_get_row_count

[22:09:21] [debug]? cache_get_row

[22:09:21] [debug]? cache_get_row_int

[22:09:21] [debug]? cache_delete

[22:09:21] [debug]? cache_get_data

[22:09:21] [debug]? cache_get_field_content_int

[22:09:21] [debug]? cache_get_field_content

[22:09:21] [debug]? cache_get_field_content_float

[22:09:21] [debug]? cache_insert_id

[22:09:21] [debug]? mysql_escape_string

[22:09:21] [debug] Run time error 19: "File or function is not found"

[22:09:21] [debug]? mysql_connect

[22:09:21] [debug]? mysql_errno

[22:09:21] [debug]? mysql_tquery

[22:09:21] [debug]? mysql_format

[22:09:21] [debug]? mysql_query

[22:09:21] [debug]? cache_get_row_count

[22:09:21] [debug]? cache_get_row

[22:09:21] [debug]? cache_get_row_int

[22:09:21] [debug]? cache_delete

[22:09:21] [debug]? cache_get_data

[22:09:21] [debug]? cache_get_field_content_int

[22:09:21] [debug]? cache_get_field_content

[22:09:21] [debug]? cache_get_field_content_float

[22:09:21] [debug]? cache_insert_id

[22:09:21] [debug]? mysql_escape_string

[22:09:21] Script[gamemodes/Gamemode.amx]: Run time error 19: "File or function is not found"

[22:09:21] Number of vehicle models: 0

[22:10:29] [connection] 201.156.222.114:64199 requests connection cookie.

[22:10:30] [connection] incoming connection: 201.156.222.114:64199 id: 0

[22:10:30] [debug] Run time error 19: "File or function is not found"

[22:10:30] [debug]? mysql_connect

[22:10:30] [debug]? mysql_errno

[22:10:30] [debug]? mysql_tquery

[22:10:30] [debug]? mysql_format

[22:10:30] [debug]? mysql_query

[22:10:30] [debug]? cache_get_row_count

[22:10:30] [debug]? cache_get_row

[22:10:30] [debug]? cache_get_row_int

[22:10:30] [debug]? cache_delete

[22:10:30] [debug]? cache_get_data

[22:10:30] [debug]? cache_get_field_content_int

[22:10:30] [debug]? cache_get_field_content

[22:10:30] [debug]? cache_get_field_content_float

[22:10:30] [debug]? cache_insert_id

[22:10:30] [debug]? mysql_escape_string

[22:10:30] [join] King_Schultz has joined the server (0:201.156.222.114)

[22:10:30] [debug] Run time error 19: "File or function is not found"

[22:10:30] [debug]? mysql_connect

[22:10:30] [debug]? mysql_errno

[22:10:30] [debug]? mysql_tquery

[22:10:30] [debug]? mysql_format

[22:10:30] [debug]? mysql_query

[22:10:30] [debug]? cache_get_row_count

[22:10:30] [debug]? cache_get_row

[22:10:30] [debug]? cache_get_row_int

[22:10:30] [debug]? cache_delete

[22:10:30] [debug]? cache_get_data

[22:10:30] [debug]? cache_get_field_content_int

[22:10:30] [debug]? cache_get_field_content

[22:10:30] [debug]? cache_get_field_content_float

[22:10:30] [debug]? cache_insert_id

[22:10:30] [debug]? mysql_escape_string

[22:10:33] [debug] Run time error 19: "File or function is not found"

[22:10:33] [debug]? mysql_connect

[22:10:33] [debug]? mysql_errno

[22:10:33] [debug]? mysql_tquery

[22:10:33] [debug]? mysql_format

[22:10:33] [debug]? mysql_query

[22:10:33] [debug]? cache_get_row_count

[22:10:33] [debug]? cache_get_row

[22:10:33] [debug]? cache_get_row_int

[22:10:33] [debug]? cache_delete

[22:10:33] [debug]? cache_get_data

[22:10:33] [debug]? cache_get_field_content_int

[22:10:33] [debug]? cache_get_field_content

[22:10:33] [debug]? cache_get_field_content_float

[22:10:33] [debug]? cache_insert_id

[22:10:33] [debug]? mysql_escape_string

[22:10:39] [debug] Run time error 19: "File or function is not found"

[22:10:39] [debug]? mysql_connect

[22:10:39] [debug]? mysql_errno

[22:10:39] [debug]? mysql_tquery

[22:10:39] [debug]? mysql_format

[22:10:39] [debug]? mysql_query

[22:10:39] [debug]? cache_get_row_count

[22:10:39] [debug]? cache_get_row

[22:10:39] [debug]? cache_get_row_int

[22:10:39] [debug]? cache_delete

[22:10:39] [debug]? cache_get_data

[22:10:39] [debug]? cache_get_field_content_int

[22:10:39] [debug]? cache_get_field_content

[22:10:39] [debug]? cache_get_field_content_float

[22:10:39] [debug]? cache_insert_id

[22:10:39] [debug]? mysql_escape_string

[22:10:39] [part] King_Schultz has left the server (0:1)


  Bug when player freezes
Posted by: RhaegarX - 2021-02-12, 08:18 PM - Forum: Support - Replies (11)

I am developing a stealing system, in which when stealing the player is frozen [TogglePlayerControllable (playerid, false);].
However, when the player is frozen he becomes immortal, not taking any damage.
Can anyone tell me how to fix this bug?


  Luxury House | Mirsat24
Posted by: mirsat24 - 2021-02-12, 03:39 PM - Forum: Videos and Screenshots - Replies (1)

Discord:Mirsat24#8134



Name: Luxury House

Map type:?Interior

Number of objects: About 700

Removed SA objects: 0

Custom objects: 0

Map editor used: Texture Studio 1.9





[Video: http://https://www.youtube.com/watch?v=hFbocHcMiVs&t=4s]


  Problems loading plugins in ubuntu
Posted by: McZulian - 2021-02-11, 10:45 PM - Forum: Support - Replies (2)

Hi! I'm McZulian (sorry if my english is kinda bad, i'm argentinean)
I'm trying to create a SAMP plugin using an ubuntu VPS becouse the gamehost forced me to use MySQL R41 and my gamemode uses R39 and i can't update it.
I did everything, i have an ftp connection to the server, phpmyadmin running well and everything. But when i try to run the server, it runs, but my gamemode does not work. And it does not load any of the plugins i have.
This is my server log

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[22:20:28] filterscripts = ""? (string)
password = ""? (string)

Server Plugins
--------------
Loading plugin: sscanf
? Failed (plugins/sscanf: cannot open shared object file: No such file or directory)
Loading plugin: mysql
? Failed (plugins/mysql: cannot open shared object file: No such file or directory)
Loading plugin: streamer
? Failed (plugins/streamer: cannot open shared object file: No such file or directory)
Loading plugin: nativechecker
? Failed (plugins/nativechecker: cannot open shared object file: No such file or directory)
Loading plugin: Whirlpool
? Failed (plugins/Whirlpool: cannot open shared object file: No such file or directory)
Loaded 0 plugins.


Filterscripts
---------------
? Loaded 0 filterscripts.

Script[gamemodes/roleplay.amx]: Run time error 19: "File or function is not found"
Number of vehicle models: 0

i'm using South Central as a base gamemode

I did everything in my knowledge and still didn't get it to work. In my pc, using windows it works just fine, no problems there. But when i go to a linux server, everything goes to hell


  how to load every user.ini in scriptfiles using YINI
Posted by: mems - 2021-02-11, 08:11 PM - Forum: Pawn Scripting - Replies (31)

greetings,

title says it all i guess. i'm planning to make a command which has to do with setting levels to people who are in a specific gang the offline way. much appreciated if anyone helps!


Video let's go, frogs?! [animated meme]
Posted by: Crypto - 2021-02-11, 06:08 PM - Forum: Videos and Screenshots - Replies (1)

https://youtu.be/K6gGY3d0R9E ??????


Sad Failed load plugin Windows 7 64
Posted by: CEDZIOR - 2021-02-11, 05:35 PM - Forum: Support - Replies (1)

I?have a very strange problem with loading plugins.?I am not loading all 3 plugins. Streamer sscanf MapAndreas.
At my friend's, this is our home server and there are no problems.
It looks like something is not working with my windows 7. All libraries are installed, i.e. MVC from 2008 to 2015, and?service?pack 1 too.I still won't load it.

I dont have more ideas... :(

[Image: error.png]

[Image: error2.png]