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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,891
» Latest member: orbitkick
» Forum threads: 2,393
» Forum posts: 12,300

Full Statistics

Online Users
There are currently 313 online users.
» 1 Member(s) | 310 Guest(s)
Bing, Google, 1NS

Latest Threads
AntyCheat System [SA-MP/O...
Forum: Filterscripts
Last Post: Pevenaider
2026-01-27, 08:48 PM
» Replies: 11
» Views: 19,022
problema afisare dialog c...
Forum: Romanian/Rom?na
Last Post: rcst3phan
2026-01-27, 07:31 PM
» Replies: 0
» Views: 40
problem dialog clan membe...
Forum: Pawn Scripting
Last Post: rcst3phan
2026-01-27, 07:30 PM
» Replies: 0
» Views: 36
Verona Community opening
Forum: Advertisements
Last Post: pmemorex2016
2026-01-27, 07:01 AM
» Replies: 0
» Views: 38
Verona Community otvaranj...
Forum: Ex-Yu
Last Post: pmemorex2016
2026-01-27, 06:59 AM
» Replies: 0
» Views: 49
Animated Textdraws
Forum: Libraries
Last Post: Crazy_ArKzX
2026-01-26, 08:26 PM
» Replies: 0
» Views: 42
Textdraw Animada
Forum: Portuguese/Portugu?s
Last Post: Crazy_ArKzX
2026-01-26, 08:23 PM
» Replies: 0
» Views: 41
Textdraw Editor Mobile - ...
Forum: Portuguese/Portugu?s
Last Post: Crazy_ArKzX
2026-01-26, 08:21 PM
» Replies: 0
» Views: 22
Il reste des français sur...
Forum: French/Fran?ais
Last Post: Lionel62300
2026-01-26, 03:20 PM
» Replies: 3
» Views: 3,947
Redturbo's Team Death Mat...
Forum: Advertisements
Last Post: Bright
2026-01-25, 12:36 PM
» Replies: 0
» Views: 72

 
Question [HELP] Changing the skin when OnPlayerConnect
Posted by: romanstti - 2021-04-10, 02:31 PM - Forum: Pawn Scripting - Replies (3)





Hello there!

First of all, good morning, it is 11:11 here already.







I would like to clarify that I am ALL NEW on this Pawn scripting thing... I spent the whole night reading documents of variables and strings...

I still can not figure out what am I doing wrong!

Maybe someone here can help?




So, I will explain you what I am trying to do, because it is probably one of the most easiest things in Pawn scripting and if you take the time to *explain* me what I am doing wrong and how to apply it as it should, then I will be one of the happiest person alive!







I am trying to change the skin automatically only if the name of the player connected is equal to: "Luna_Beaule"



I have some custom skins added to the server, and I am trying to figure out how to change them if the X (GetPlayerName I GUESS!?!?!?) is the same as: Luna_Beaule.








I'll leave below the code I wrote *so wrong, please do not laugh, thank you*:



Code:
public OnPlayerConnect(playerid)

{

SendClientMessage (playerid, -1, "Servidor oficial de pruebas.");



return 1;

}

if (GetPlayerName(playerid, name) == Luna_Beaule) return SetPlayerSkin(playerid, 20003);



return 1;

}







  Textdraw Actions
Posted by: ForT - 2021-04-10, 06:28 AM - Forum: Libraries - Replies (4)

Textdraw Actions



A simple include that shows a small action box in the center of the screen with options Y and N for the player to choose.



Download

https://github.com/dimmyi/td-actions



Preview:

Image: https://i.imgur.com/90W43SI.png

[Image: 8VQLmcn.gif]



Usage:

PHP Code:
#include <td-actions>



CMD:infernus(playerid)

{

? ? 
ShowActionForPlayer(playeridActionInfernus"Do you really want to spawn a infernus in this position?", .action_time 10000);



? ? return 
1;

}



Action:ActionInfernus(playeridresponse)

{

? ? if (
response == ACTION_RESPONSE_YES)

? ? {

? ? ? ? new 
Float:xFloat:yFloat:zFloat:ang;



? ? ? ? 
GetPlayerPos(playeridxyz);

? ? ? ? 
GetPlayerFacingAngle(playeridang);



? ? ? ? new 
vehicleid CreateVehicle(411,

? ? ? ? ? ? 
x  2.5 floatsin(-angdegrees),

? ? ? ? ? ? 
y  2.5 floatcos(-angdegrees),

? ? ? ? ? ? 
z  0.3,

? ? ? ? ? ? 
ang,

? ? ? ? ? ? 
0,

? ? ? ? ? ? 
0,

? ? ? ? ? ? -
1);



? ? ? ? 
LinkVehicleToInterior(vehicleidGetPlayerInterior(playerid));

? ? ? ? 
SetVehicleVirtualWorld(vehicleidGetPlayerVirtualWorld(playerid));

? ? } else {

? ? ? ? 
SendClientMessage(playerid, -1"You didn't want to spawn a infernus.");

? ? }





Responses:

  1. ACTION_RESPONSE_NO_CHOOSE - When the player does not choose an option

  2. ACTION_RESPONSE_NO -?When the player presses the N key

  3. ACTION_RESPONSE_YES -?When the player presses the Y?key


  discord-connector, how to send private messages?
Posted by: ???????? - 2021-04-09, 02:15 PM - Forum: Pawn Scripting - Replies (1)

Hello! I need some help over here with this exiting plugin. I can't get how to send private messages to player from game?

Private messages, not public in channels. If someone got through this hell before me - I ask you to help me to cross this damn river..



https://github.com/maddinat0r/samp-discord-connector


  SHA256 SALT in PHP?
Posted by: CoPete? - 2021-04-08, 08:59 PM - Forum: Programming - Replies (1)

Hi!?please I would like you to help me authenticate the users on the web page, the problem I have is that I use in the gamemode the password settlement system sha256 a salt that I got in forum samp (maybe they know which)?and I don't know how I could do an autiticator?in php, thanks



[Image: TtrFlqW.png]


  Help
Posted by: Nightmare - 2021-04-08, 04:45 PM - Forum: Pawn Scripting - Replies (2)

hello i'm new in pawn scripting, i'm compiling a filterscript, and appears this error: "undefined symbol 'AddSimpleModel'". I searched how solve it but i don't found solutions. Can someone help?





img link:

https://prnt.sc/117hc5z


  Dialog selection doesn't work.
Posted by: Axitz - 2021-04-08, 03:57 PM - Forum: Pawn Scripting - Replies (1)

Hi sorry for keep creating thread.



I'm not really familiar with dialog system, therefore I tried creating it in dialog version but it doesn't work like what I wanted it to be.

I clicked one of the vehicle but it select everything and unimpound everything I owned plus the faction vehicles.



I have to upload it on pastebin due to thread messed up the code.





https://pastebin.com/raw/BG9f6WQn


  TDEditor 1.17 Bug Box Right Alignment
Posted by: Jhames - 2021-04-08, 02:55 PM - Forum: Pawn Scripting - Replies (2)

Hi guys.



I have a problem in TDEditor 1.17 when I activate the right alignment the box of my text is infinite to the left side and I can't go back, this only happens with the right alignment.




[Image: FqnY0Mp.png]


  [fixed] Entering last checkpoints doesn't give me anything.
Posted by: Axitz - 2021-04-08, 01:31 PM - Forum: Pawn Scripting - No Replies

nvm fixed.


  A correctly installed Filterscript (driverfs) does not work.
Posted by: Boxi - 2021-04-07, 06:33 PM - Forum: Pawn Scripting - Replies (2)

Hi it's me again :C (I think I'll get banned from this forum if I keep posting so often :P)



Anyway, I need your help to install this FilterScript?https://github.com/Naseband/SAMP-Driver-FS??I downloaded and installed all the libraries it requires, I compiled it without problems, but when I install it on the server and try to use a command I get the message "Unknown command" when the command I use is defined, basically it's as if the FS does not start.





Someone already tried to install this FS or know how to solve this problem? I would appreciate your help. Greetings to all!


  Not sending an error message
Posted by: Axitz - 2021-04-07, 02:32 PM - Forum: Pawn Scripting - Replies (5)

I have this problem when I use the other method, it does work but if I change it the way I wanted, it doesn't. Please help.?

This one does work.

PHP Code:
if(Vehicles[vehicleid][impounded] == 1) return SendClientMSG(playeridCOLOR_RED"{ff6347}Error: Unable to spawn because it is impounded."); 

This one doesn't work. No Idea why.
PHP Code:
if(Vehicles[vehicleid][impounded] == 1) return SendClientMSG(playeridCOLOR_RED"{ff6347}Error: Unable to spawn %s (ID: %d) because it is impounded.",GetVehicleName(Vehicles[vehicleid][vrID]), vehicleid);