SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 49
Search took 0.00 seconds.
Search: Posts Made By: shaneadev
Forum: Scripting Help 20/06/2020, 07:47 AM
Replies: 2
Views: 74
Posted By shaneadev
Forum: Scripting Help 19/06/2020, 07:29 PM
Replies: 2
Views: 74
Posted By shaneadev
Thumbs up error 018: initialization data exceeds declared size

Can someone make this work. I really don't know how to do it.


new UP_Rewards[][ 4 ][ 2 ] = {
{ "Respect Points", "Money" }, { "Drugs", "Drugs" }, { "Premium Points", "Premium Points" }, {...
Forum: Scripting Help 23/04/2020, 04:21 PM
Replies: 7
Views: 166
Posted By shaneadev
Re: How can I block this cheat

I used OnPlayerStateChange to check if a player's state is changed and no it is not. I also did the verification in OnPlayerUpdate
Forum: Scripting Help 23/04/2020, 03:32 PM
Replies: 7
Views: 166
Posted By shaneadev
Re: How can I block this cheat

@Assister I can't do that because the vehicles are used by the players.
My position does not change, my state does not change when you use cheat.
Forum: Scripting Help 23/04/2020, 02:52 PM
Replies: 7
Views: 166
Posted By shaneadev
Re: How can I block this cheat

The vehicles are the ones around, they are not created by cheat.
Forum: Scripting Help 23/04/2020, 02:32 PM
Replies: 7
Views: 166
Posted By shaneadev
Angry How can I block this cheat

Can anyone explain to me if they understand how this cheat works. (from video)
Basically, I move the vehicles around me as they appear in the video.
My position does not appear to change so I am...
Forum: Scripting Help 31/03/2020, 11:31 AM
Replies: 1
Views: 168
Posted By shaneadev
Re: BCrypt problem

Someone?
Is it from the host?
Forum: Scripting Help 30/03/2020, 05:03 PM
Replies: 1
Views: 168
Posted By shaneadev
Question BCrypt problem

[19:56:50] Loading plugin: bcrypt-samp.so
[19:56:50] Failed (plugins/bcrypt-samp.so: symbol _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERjj, version GLIBCXX_3.4.21 not defined...
Forum: Scripting Help 30/03/2020, 08:56 AM
Replies: 1
Views: 86
Posted By shaneadev
Thumbs up SHA-256 on php login (with salt)

Someone who can tell me how to get the salt from player account for my login page?


if(isset($_POST['login_submit']) && !Config::isLogged()) {
if(strlen($_POST['username']) &&...
Forum: Scripting Help 26/03/2020, 05:55 PM
Replies: 30
Views: 385
Posted By shaneadev
Re: ORM Problem (mysql r41)

I understand. Thank a lot for your help.
Forum: Scripting Help 26/03/2020, 05:16 PM
Replies: 30
Views: 385
Posted By shaneadev
Re: ORM Problem (mysql r41)

When I use one of them in a string separated, like a command:

new eString[ 100 ];
format( eString, sizeof eString, "Clan name ID 2: %s", clanVariable[ 2 ][ clanName ] );
SendClientMessage(...
Forum: Scripting Help 26/03/2020, 04:55 PM
Replies: 30
Views: 385
Posted By shaneadev
Forum: Scripting Help 26/03/2020, 03:13 PM
Replies: 30
Views: 385
Posted By shaneadev
Re: ORM Problem (mysql r41)

First row is not copied: https://pastebin.com/LNL9B3B3

That is all.
Forum: Scripting Help 26/03/2020, 02:38 PM
Replies: 30
Views: 385
Posted By shaneadev
Re: ORM Problem (mysql r41)

I think you say about that: https://pastebin.com/pMkE019B
These rows appeared a short time after the server was started.

enum jEnums {
jID, jName[ 15 ], jLevel,
Float: jPos_X, Float: jPos_Y,...
Forum: Scripting Help 26/03/2020, 02:24 PM
Replies: 30
Views: 385
Posted By shaneadev
Re: ORM Problem (mysql r41)

They are not loaded using the ORM.

function Load_Jobs( ) {
new result[ 15 ], str_text[ 120 ];
Total_Jobs = cache_num_rows( );
for( new i = 1; i <= Total_Jobs; i++ ) {...
Forum: Scripting Help 26/03/2020, 02:11 PM
Replies: 30
Views: 385
Posted By shaneadev
Re: ORM Problem (mysql r41)

@Calisthenics
That is: https://pastebin.com/UTEun1CT
Forum: Scripting Help 26/03/2020, 02:02 PM
Replies: 30
Views: 385
Posted By shaneadev
Forum: Scripting Help 26/03/2020, 01:52 PM
Replies: 30
Views: 385
Posted By shaneadev
Re: ORM Problem (mysql r41)

Same..
The integers are loaded but string not.

printf:
DEBUG: Total_Clans = 2
Loaded clans: 2

And the error appears to.
Forum: Scripting Help 26/03/2020, 01:29 PM
Replies: 30
Views: 385
Posted By shaneadev
Re: ORM Problem (mysql r41)

@Calisthenics

#define MAX_CLANS 50
enum clanEnums { ORM:ORM_ID, clanID, clanSlots, clanName[ 25 ], clanTag[ 10 ], clanColor[ 10 ], clanSafe };
new clanVariable[ MAX_CLANS ][ clanEnums ],...
Forum: Scripting Help 26/03/2020, 12:13 PM
Replies: 30
Views: 385
Posted By shaneadev
Re: ORM Problem (mysql r41)

The same.

orm_apply_cache: invalid row index index '9'
Loaded clans: 2
Forum: Scripting Help 26/03/2020, 12:08 PM
Replies: 30
Views: 385
Posted By shaneadev
Re: ORM Problem (mysql r41)

@Calisthenics
I'm still getting this error.
[ERROR] orm_apply_cache: invalid row index index '9'

function Load_Clans( ) {
if( cache_num_rows( ) == 0 ) return true;
for( new i = 0, j =...
Forum: Scripting Help 26/03/2020, 11:54 AM
Replies: 30
Views: 385
Posted By shaneadev
Re: ORM Problem (mysql r41)

If i use something like that:

new String[ 30 ];
orm_addvar_string( ormid, String, 30, "Name" );
format( clanVariables[ i ][ clanName ], 30, String );


The clan name works.
Forum: Scripting Help 26/03/2020, 11:51 AM
Replies: 30
Views: 385
Posted By shaneadev
Re: ORM Problem (mysql r41)

@Calisthenics I don't quite understand what you mean.
The colors are saved in the format ex: ffcc99
Forum: Scripting Help 26/03/2020, 11:32 AM
Replies: 30
Views: 385
Posted By shaneadev
Re: ORM Problem (mysql r41)

@Slawi orm_apply_cache: invalid row index index '9'
Just his error.

@webby It's not in enum.
new cRankNames[ MAX_CLANS ][ 7 ][ 30 ]
Forum: Scripting Help 26/03/2020, 09:53 AM
Replies: 0
Views: 76
Posted By shaneadev
Spray mSelection question.

How I can use this include to show my personal skins from database? https://forum.sa-mp.com/showthread.php?t=407045

In the database I have the following way:

Model (skin model)
OwnerSQL...
Showing results 1 to 25 of 49

 

All times are GMT. The time now is 04:19 AM.


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