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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,039
» Latest member: DanaliIbrahim
» Forum threads: 2,349
» Forum posts: 12,238

Full Statistics

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

Latest Threads
GTA Multigames [ MultiMod...
Forum: Advertisements
Last Post: Undead
2 hours ago
» Replies: 0
» Views: 6
GTA SA DE is the future
Forum: General Discussions
Last Post: DanaliIbrahim
7 hours ago
» Replies: 5
» Views: 5,203
Atlanta DeathMatch
Forum: Advertisements
Last Post: NixaSha
8 hours ago
» Replies: 0
» Views: 12
will open.mp supports hig...
Forum: Questions and Suggestions
Last Post: NoxxeR
2025-04-23, 07:10 PM
» Replies: 2
» Views: 398
black screen
Forum: Support
Last Post: geppetog
2025-04-23, 05:34 PM
» Replies: 0
» Views: 26
Discord server - Ban Appe...
Forum: Chat
Last Post: joshcoconutard
2025-04-22, 06:42 PM
» Replies: 0
» Views: 43
I know Kalcor left the bu...
Forum: Questions and Suggestions
Last Post: NoxxeR
2025-04-22, 02:22 PM
» Replies: 4
» Views: 155
Sponsors and Donations
Forum: Questions and Suggestions
Last Post: NoxxeR
2025-04-20, 05:48 AM
» Replies: 0
» Views: 51
Best practices for conver...
Forum: Tech
Last Post: Mido
2025-04-19, 09:53 PM
» Replies: 1
» Views: 126
What got you into SA-MP a...
Forum: Chat
Last Post: alecnia
2025-04-17, 01:17 AM
» Replies: 1
» Views: 174

 
  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?


Smile San Andreas memes
Posted by: Jarnokai - 2020-04-16, 10:42 PM - Forum: Videos and Screenshots - Replies (2)

Of course we gotta have this thread



[Video: https://www.youtube.com/watch?v=MHem6JMzYiE]


  Multiple Language support
Posted by: Jimmy - 2020-04-16, 03:56 PM - Forum: Questions and Suggestions - Replies (3)

I know a lot of people?want multiple language support in Open.MP client. I'd say cuz it is open source, you should officially support another language besides Pawn like LUA..?


  Ability to connect an NPC to a defined player ID
Posted by: EvilShadeZ - 2020-04-16, 07:49 AM - Forum: Questions and Suggestions - Replies (4)

Being able to connect an NPC to a specific ID would help in terms of server development.?

Let's say my server has 100 player slots and I would like another 100 npc's, I would rather have them connected in slots 100-199 than being mixed in with regular players.



By having NPC's in higher slots, I can reduce Player Information array sizes to the appropriate size to only include players, meanwhile I could create NPC specific arrays that handle NPC-Specific?information.


  TESTING/DEBUGGING in open.mp
Posted by: Media - 2020-04-16, 01:14 AM - Forum: Development Updates - Replies (7)

What kinds of things are you looking forward to seeing with regard to script TESTING and DEBUGGING in open.mp?





Check out our new blog post for the inside info on how it works so far???????



???https://www.open.mp/blog/debugging