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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 6,511
» Latest member: snaptrap
» Forum threads: 2,233
» Forum posts: 12,034

Full Statistics

Online Users
There are currently 341 online users.
» 0 Member(s) | 339 Guest(s)
Bing, Google

Latest Threads
I humor myself
Forum: Programming
Last Post: nami16504
Yesterday, 04:28 PM
» Replies: 5
» Views: 8,043
Command does not work in-...
Forum: Pawn Scripting
Last Post: PANZEHIR_
2024-11-23, 06:36 PM
» Replies: 0
» Views: 43
White Screen
Forum: Support
Last Post: Phat202146_real
2024-11-21, 02:50 PM
» Replies: 0
» Views: 43
I get error 021 using y_h...
Forum: Pawn Scripting
Last Post: daniscript18
2024-11-18, 11:34 PM
» Replies: 0
» Views: 61
Il reste des français sur...
Forum: French/Fran?ais
Last Post: tysanio
2024-11-18, 05:39 AM
» Replies: 2
» Views: 469
Object creation issues
Forum: Programming
Last Post: K1271
2024-11-15, 11:51 PM
» Replies: 0
» Views: 56
Is the SAMP Hosting the s...
Forum: General Discussions
Last Post: OperaGX
2024-11-14, 09:33 PM
» Replies: 0
» Views: 76
Run time error 19: "File ...
Forum: Pawn Scripting
Last Post: Rexey
2024-11-14, 03:50 AM
» Replies: 0
» Views: 65
How to Compile Your Gamem...
Forum: Tutorials
Last Post: thelante
2024-11-13, 08:50 AM
» Replies: 3
» Views: 478
Modeller wanted
Forum: Development Updates
Last Post: acc.gangbeni
2024-11-11, 05:10 PM
» Replies: 9
» Views: 16,522

 
  [0.3-DL] ls-stories.pl
Posted by: bluur - 2020-04-21, 09:36 PM - Forum: Serwery - Replies (2)

[Image: UkU3I9T.png]



Caly sekret tkwi w szczeg?lach



Ci, kt?rzy sa z nami, doskonale wiedza, ze ekipa LS-STORIES zawsze dba o najwyzszy poziom rozgrywki. Wielu z tych, kt?rzy jeszcze nie mieli okazji nas poznac, moze zastanawiac sie, jak to mozliwe, ze w czasach, kiedy platforma SA:MP staje sie przezytkiem, odnieslismy tak ogromny sukces. Aby bylo to mozliwe, musielismy stworzyc cos, co bedzie sie wyr?znialo na polskiej scenie RP ? nie tylko stabilna i przyjazna ekipa, ale i innowacyjnym, rozbudowanym skryptem. Wszystko to, lacznie z nasza pracowitoscia oraz wlozonym w ten projekt sercem, sprawilo, ze mozemy zn?w zaprosic Was do Los Santos, gdzie wsp?lnie zbudujemy nasza spolecznosc.

Nim spotkamy sie tam In Game, zapoznajcie sie z naszym skryptem, poznajcie to, z czego jestesmy najbardziej dumni i przygotujcie sie na to, co Was czeka. Warto przed startem przypomniec sobie, za co nas pokochaliscie i dlaczego tak duzo czasu z nami spedziliscie.



Prezentacja jest obszerna, z racji, ze wszystko na naszym projekcie jest bardzo

rozbudowane, dlatego zapraszamy do przegladu jej na naszym forum.



> Przejdz do pelnej prezentacji <



Nie chcesz czytac? Spr?buj gry juz teraz, i po prostu przejdz na forum by stworzyc postac.



IP: samp.ls-stories.pl





HostName: ? ? LS-STORIES.PL ? ? ? Najwiekszy RolePlay!

Address: samp.ls-stories.pl:7777

Players: 650 / 1000

Ping: 16

Mode: ls-stories.pl 3.9.2


  [MAP] Main ST, Fort Carson
Posted by: WolfX - 2020-04-21, 07:47 PM - Forum: Videos and Screenshots - No Replies

Hi, I'm from the Spanish community and I'm currently working as a mapper



I have made this map which is version 1 of the main street of Fort Carson.



Hope you like



[Video: https://youtu.be/maQrtBjdfnw]



link video


  [INCLUDE]iAchieve 1.2 - include de cria??o de trof?us
Posted by: xbruno1000x - 2020-04-21, 12:03 AM - Forum: Portuguese/Portugu?s - No Replies

Essa ? uma include feita por iPleomax em 2011, e atualizada por xbruno1000x em 2020.

Tem como fun??o a facilita??o do uso de trof?us no SA-MP, sistema muito comum nos consoles.

Decidi atualizar essa include por n?o ter achado nada similar recentemente.

Como Utilizar?

Vamos supor que voc? queira recriar a primeira?conquista do GTA V, Carne Fresca.

Code:
//nas new's do seu script

new Ach_CarneFresca;

//ongamemodeinit

Ach_CarneFresca = CreateAchievement("Carne Fresca","Voce logou pela primeira vez", 1);

//o texto ap?s o nome do achieve ? sua descri??o, e o n?mero ap?s ? a quantidade de vezes que o player deve fazer a a??o.



Definindo o gatilho do trof?u:

Code:
//nesse caso iremos colocar em OnPlayerSpawn, por?m pode variar dependendo do seu objetivo. Podemos criar a primeira morte em OnPlayerDeath, e assim por diante.

GivePlayerAchievement(playerid, Ach_CarneFresca, 1);



Para recompensar o jogador ao ganhar o trof?u:

Code:
//crie a public OnPlayerAchieve (playerid, achid) e insira as recompensas do trof?u.

public OnPlayerAchieve( playerid, achid )

{

? ?if(achid == Ach_CarneFresca)

? ?{

? ? ? ?GivePlayerMoney(playerid, 1000);

? ?}

}

//nesse caso o player ganha 1000 $



OUTRAS FUN??ES:

Code:
native LoadPlayerAchievements(playerid); //Use para carregar os trof?us.

native GetPlayerAchievement(playerid, achid);

native bool:DidPlayerAchieve(playerid, achid); //Checa se o player tem o trof?u, podendo ser utilizado para criar beneficios para quem tem uma determinada conquista.



Atualiza??es feitas:

Textdraws editadas e traduzidas.

Adicionado som semelhante ao do PS3?no momento em que o player ganha o trof?u.

Foram modificadas algumas coisas b?sicas.



Cr?ditos/Requisitos:

YSI Includes

Foreach

iPleomax

xBruno1000x



Local de salvamento:

/scriptfiles/achievements/user/

/scriptfiles/achievements/main/


Imagem:

[Image: TaEV7Vm.png]



Download:


  Hex to rgba
Posted by: KarolPL - 2020-04-20, 01:31 PM - Forum: Pawn Scripting - Replies (2)

Hi. Does anyone have a function that changes hex to rgba? I need this function in #define


  Float bug ?
Posted by: NexoR - 2020-04-19, 01:33 PM - Forum: Pawn Scripting - Replies (1)

Hello, I am working on height calculation. But some places seem incomplete and inaccurate. Can you help with this issue?



My code:



Code:
for (new i = 1; i <= 35; i)

{

new Float: X = 1.50  float(i) * 0.01;

printf("%.2f", X);

}



Output:



Code:
1.50

1.51

1.52

1.53

1.54

1.55

-> There is a deficiency here.

1.57

1.58

1.59

1.60

1.61

1.62

-> There is an error here.

1.62

1.63

1.64

1.65

1.66

1.67

-> There is a deficiency here.

1.69

1.70

1.71

1.72

1.73

1.74

1.75

-> There is an error here.

1.75

1.76

1.77

1.78

1.79

1.80

1.81

1.82

-> There is a deficiency here.

1.84

1.85


  Having problems with SHA1 storing and loading password
Posted by: Th3CrazzyRabbit - 2020-04-18, 09:56 PM - Forum: Programming - Replies (5)

Well to be honest its first time a costumer asked me for a SHa1 store and load from database as its not that safe anymore , myself i use bcrypt all the time.



However im trying to come together with this? login / signup system and at signup everything works perfectly , sha1 encrypts it and stores it to the database



Now the issue its the loading from database , even tho i write the same password it still doesnt work



this is the code from loading the Sha1



PHP Code:
$hashpass sha1($userpass);

 ? ? ? ? ? ? ? ?if (
password_verify($hashpass$row['password']))

? ? ? ? ? ? ? ?{

? ? ? ? ? ? ? ? ? ?
session_start();

? ? ? ? ? ? ? ? ? ?
$_SESSION['userid'] = $row['Master_ID'];

? ? ? ? ? ? ? ? ? ?
header("Location:../index.php?login:sucess");

? ? ? ? ? ? ? ?}

? ? ? ? ? ? ? ?else{

? ? ? ? ? ? ? ? ? ?
header("Location:../login.php?error:wrongpassword");

? ? ? ? ? ? ? ? ? ?exit();

? ? ? ? ? ? ? ?} 







Storing



PHP Code:
$hashedpass sha1($password);

 ? ? ? ? ? ? ? ? ? ? ? ?
mysqli_stmt_bind_param($stmt"sss"$username$email$hashedpass);

? ? ? ? ? ? ? ? ? ? ? ?
mysqli_stmt_execute($stmt);

? ? ? ? ? ? ? ? ? ? ? ?
header("Location:../index.php?Signup:Sucessful"); 





Help me pelase , i really need this.


  editing of vehicle handling
Posted by: Gargamelis - 2020-04-18, 03:21 PM - Forum: Questions and Suggestions - No Replies

Dobr? den, bude mo?n? zabr?nit manipulaci s manipulac? s vozidlem nebo pou?it? CLEO pro zmenu manipulace? V soucasn? dobe je skutecne nemo?n? odhalit podvodn?ky pomoc? modifikovan? manipulace a dok?zat jim to?


  Dynamic Rental Vehicles - SQLite (for beginners)
Posted by: Emmett - 2020-04-18, 11:10 AM - Forum: Filterscripts - Replies (2)

Dynamic Rental Vehicles - SQLite







This is a simple rental car system..



Download:?Github

Credits: Y-Less, maddinat0r, Slice, Southclaws, Incognito, urShadow

Images:

[Image: dBNeD7o.png]

[Image: eD06PZg.png]

[Image: vg0Bk2q.png]

[Image: jhCsyEd.png]


  Unicode and Emoji
Posted by: Unicode - 2020-04-17, 11:44 PM - Forum: Questions and Suggestions - Replies (2)

Hi. I want Unicode and Emoji support.


  Is it possible to make web server using pawn?
Posted by: xTunqki - 2020-04-17, 11:28 AM - Forum: Programming - Replies (4)

I think pawn is simple scripting language, does it possible to make web server or game using it?