SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 45
Search took 0.01 seconds.
Search: Posts Made By: Itzhak E.
Forum: Discussion 13/02/2019, 08:58 PM
Replies: 2
Views: 1,048
Posted By Itzhak E.
Re: Community made gamemode

It depends what you consider community-made or rather 'community-friendly' because most of the gamemodes that were published are just "thrown" with installation guide and feature list. I meant...
Forum: Discussion 13/02/2019, 07:21 PM
Replies: 2
Views: 1,048
Posted By Itzhak E.
Re: Community made gamemode

This looks nice! Nothing on the roleplay area?
Forum: Scripting Help 13/02/2019, 07:12 PM
Replies: 35
Views: 1,022
Posted By Itzhak E.
Re: Update player statistics in the textdraw

Thats how I would go about it:
#define HUD_FIELD_MONEY 0
#define HUD_FIELD_LEVEL 1
#define HUD_FIELD_EXP 2
#define HUD_FIELD_CLAN 3

/*
Use Player_Set:
Money, Level, Exp,...
Forum: Discussion 13/02/2019, 05:01 PM
Replies: 2
Views: 1,048
Posted By Itzhak E.
Community made gamemode

Hey everyone...

So I wanted to know if during those all years there has never been this kind of project where the community contributes to the gamemode hosted on Git platforms? If not, is anyone...
Forum: Scripting Help 12/02/2019, 09:38 PM
Replies: 5
Views: 213
Posted By Itzhak E.
Re: Server Crashing after Command

I recommend using Crashdetect plugin (https://github.com/Zeex/samp-plugin-crashdetect) to know exactly why, however there's a chance that the file handle (in your case - adminfile is invalid)

Try:...
Forum: Tutorials 07/04/2016, 01:47 PM
Replies: 90
Views: 23,983
Posted By Itzhak E.
Re: Stop the abuse of stock!

Any other way to return a string other than using stock?

P.s good tut.
Forum: Plugin Development 07/02/2015, 02:32 PM
Replies: 6,151
Views: 2,244,453
Posted By Itzhak E.
Re: [REL] MySQL Plugin (Now on github!)

I would like to know what would be faster & more efficient to update 1 field:
Using this

UpdateField(const table_name[], const table_field[], const field_type, const field_value[], const...
Forum: Scripting Help 07/02/2015, 01:46 AM
Replies: 2
Views: 429
Posted By Itzhak E.
Re: [MySQL] Update through a function

I would be using it 'on-change', for example, the admin changes the faction's name so:
UpdateField("factions", "faction_name", FIELD_TYPE_STRING, "New Faction Name", "faction_id",...
Forum: Scripting Help 07/02/2015, 12:45 AM
Replies: 2
Views: 429
Posted By Itzhak E.
[MySQL] Update through a function

So I'm trying to make a function that you can update a specific field you want in a specific table you want with a specific value you want (so many specific :D)... but the problem is the value could...
Forum: Plugin Development 02/12/2014, 06:06 PM
Replies: 6,151
Views: 2,244,453
Posted By Itzhak E.
Re: [REL] MySQL Plugin (Now on github!)

If I use orm_save or orm_update and only 1 variable out of 5 was changed in the enumerator, does it updates all the variables or only the specific one that was changed?
Forum: Scripting Help 01/12/2014, 08:09 PM
Replies: 3
Views: 579
Posted By Itzhak E.
Re: sscanf - extracting ints from string (+REP)

Thats exactly what I did and it doesn't work...

Well this seem to work half-way but I'll take it. thank you. +Rep'ed
Forum: Scripting Help 01/12/2014, 02:30 PM
Replies: 3
Views: 579
Posted By Itzhak E.
sscanf - extracting ints from string (+REP)

Hello...
so I have a variable from OnDialogResponse callback - inputtext which contains 2 numbers that I would like to extract but it doesn't work...
sscanf(inputtext, "ii", s_ID, s_Pos);

EDIT:...
Forum: Scripting Help 16/03/2014, 11:20 PM
Replies: 2
Views: 891
Posted By Itzhak E.
sscanf | multiple sub-cmds for a sub-cmd.

Well, I actually never managed to get a command like /car get (has 1 paramter, id)/create(has multiple paramters like model, colors etc) to get it working with sscanf only, I always got some warnings...
Forum: Plugin Development 31/01/2014, 08:50 AM
Replies: 6,151
Views: 2,244,453
Posted By Itzhak E.
Re: [REL] MySQL Plugin (Now on github!)

Can anyone make an example of ORM usage because I tried AndreT's tutorial and it doesn't work...
And for some reason when I select data with ORM so if it's a string it duplicates the first and puts...
Forum: Tutorials 29/01/2014, 06:43 AM
Replies: 79
Views: 42,590
Posted By Itzhak E.
Re: MySQL plugin ORM usage tutorial

Thats the problem, the log file is empty.
Forum: Tutorials 27/01/2014, 06:37 AM
Replies: 79
Views: 42,590
Posted By Itzhak E.
Re: MySQL plugin ORM usage tutorial

I tried to do a register system which some of the code you included here but when a player connects it doesn't show any dialod... And also I would like to do debug for ORM how do I print the ormid...
Forum: Scripting Help 15/03/2013, 01:01 PM
Replies: 6
Views: 671
Posted By Itzhak E.
Re: Whirlpool issue

bump.. anyone?
Forum: Scripting Help 14/03/2013, 12:23 PM
Replies: 6
Views: 671
Posted By Itzhak E.
Re: Whirlpool issue

24 hours passed, another bump.
Forum: Scripting Help 13/03/2013, 02:07 PM
Replies: 5
Views: 424
Posted By Itzhak E.
Re: [Question] Can you take a force ss

It's possible using c++/C# etc... you need to build a program which should be on the player's computer like sClient Anti-Cheat.
Forum: Scripting Help 13/03/2013, 12:41 PM
Replies: 6
Views: 671
Posted By Itzhak E.
Re: Whirlpool issue

UP.. anyone please?
Forum: Scripting Help 12/03/2013, 09:00 PM
Replies: 6
Views: 671
Posted By Itzhak E.
Re: Whirlpool issue

enum _accountData
{
szPassword[129],
szEmail[60],
szIP[16],
}



I use MySQL R7 Plugin by Blue.
Forum: Scripting Help 12/03/2013, 03:25 PM
Replies: 6
Views: 671
Posted By Itzhak E.
Whirlpool issue

When I register I have for example "hash1" in the database and when I login this is being converted to "hash2" (different hash).
Login Hash:
new szHashedPassword[129];
WP_Hash(szHashedPassword,...
Forum: Scripting Help 12/03/2013, 01:51 PM
Replies: 6
Views: 631
Posted By Itzhak E.
Re: wrong password everytime (strcmp)

Yes, I know that.
Anyone please?

EDIT: Never mind, I fixed it! the problem actually was the hash and not the statement. L&A please.
Forum: Scripting Help 12/03/2013, 01:25 PM
Replies: 6
Views: 631
Posted By Itzhak E.
Re: wrong password everytime (strcmp)

Okay I used printf to print the inputext and the Password from enum and it came back the same password, so the problem is here:
new szHashedPassword[129];
...
Forum: Scripting Help 12/03/2013, 01:01 PM
Replies: 7
Views: 1,711
Posted By Itzhak E.
Re: Set Player Money to 0

Use your best friend, ******.
Here you go: http://wiki.sa-mp.com/wiki/ResetPlayerMoney
Showing results 1 to 25 of 45

 

All times are GMT. The time now is 10:46 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.