SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 237
Search took 0.01 seconds.
Search: Posts Made By: ShadowMortar
Forum: Scripting Help 05/06/2020, 01:20 PM
Replies: 1
Views: 14
Posted By ShadowMortar
Forum: Scripting Help 05/06/2020, 09:50 AM
Replies: 21
Views: 3,139
Posted By ShadowMortar
Re: Server mode unknown :S

Please check when was the thread posted before replying :rolleyes:
Forum: Scripting Help 13/05/2020, 05:02 PM
Replies: 2
Views: 85
Posted By ShadowMortar
Re: Help me with errors!

I don't understand,.. Why would you put dialog response part under the command? Listitem is used in OnDialogResponse
https://wiki.sa-mp.com/wiki/OnDialogResponse
Forum: Scripting Help 13/05/2020, 04:59 PM
Replies: 3
Views: 70
Posted By ShadowMortar
Re: Report command help...

Show exact error line please.
Forum: Scripting Help 11/05/2020, 07:53 AM
Replies: 2
Views: 91
Posted By ShadowMortar
Forum: Scripting Help 08/05/2020, 02:28 PM
Replies: 3
Views: 134
Posted By ShadowMortar
Re: OnPlayerDisconnect bug(critical)

Are you saying that if LITERALLY ANY player quits the server, PLAYER ID 0 will always be affected?
Forum: Scripting Help 08/05/2020, 02:26 PM
Replies: 5
Views: 114
Posted By ShadowMortar
Re: Tracing array index out of bounds error

I would usually ignore the crashdetect warnings for pawno includes( most likely they are false ) but I would definitely not ignore:

[20:48:50] [debug] #0 004e7274 in public EVF_OnPlayerConnect...
Forum: Scripting Help 06/05/2020, 07:19 AM
Replies: 5
Views: 138
Posted By ShadowMortar
Re: Server crashed due to an unknown error

https://forum.sa-mp.com/showthread.php?t=262796
Compiling the script with crashdetect(the plugin above) and the -d3 flag will print exact line every time your server crashes/occurres an error in...
Forum: Scripting Help 05/05/2020, 08:16 PM
Replies: 1
Views: 64
Posted By ShadowMortar
Re: formatting string

format(playerQuestion[playerid], 128, "%s", inputtext);
Should work.
Forum: Scripting Help 05/05/2020, 09:50 AM
Replies: 8
Views: 172
Posted By ShadowMortar
Re: not loading correctly

Let's not forget that he's using > PlayerInfo[playerid][Name] < in login dialog, and I don't see that he stored player's name in PlayerInfo[playerid][Name], and that's why I gave this option.
Forum: Scripting Help 05/05/2020, 09:39 AM
Replies: 8
Views: 172
Posted By ShadowMortar
Re: not loading correctly

First -> You are never loading player's name from SQL
mysql_format(db, query, sizeof(query), "SELECT * FROM `accounts` WHERE `Name` = '%e' LIMIT 1", PlayerInfo[playerid][Name]);
Use this:

...
Forum: Scripting Help 05/05/2020, 07:01 AM
Replies: 4
Views: 94
Posted By ShadowMortar
Re: A Problemss

First learn basics, then try to do all that by yourself, and when you get stuck post a thread on SAMP forum.
..Or simply pay someone to do everything for you.
Forum: Scripting Help 04/05/2020, 07:44 PM
Replies: 3
Views: 84
Posted By ShadowMortar
Re: Y_INI Trouble. It Does not load all data!

I would love to help you, but I don't know INI/DINI, or whatever...
When I started my 'scripting career', I asked here which saving system is preferable, everyone told me MySQL, so I never had a...
Forum: Scripting Help 04/05/2020, 04:51 PM
Replies: 1
Views: 56
Posted By ShadowMortar
Re: Iter

I am not sure what you mean with "Is there a way to get the current iter with an Iter_ func?" but you can check whether the iterator is valid or not. Ex:
new iterid = GetPVarInt(playerid,...
Forum: Includes 04/05/2020, 06:34 AM
Replies: 13
Views: 2,968
Posted By ShadowMortar
Re: perplayer.inc - collection of player-based functions (ForPlayer analogues)

I got a few more ideas just now, it's awesome I will definitely be using it. Thanks for this release.
Forum: Includes 03/05/2020, 07:34 PM
Replies: 13
Views: 2,968
Posted By ShadowMortar
Re: perplayer.inc - collection of player-based functions (ForPlayer analogues)

Keep up the effort, awesome, but if you could give me one example where this can be useful?
Forum: Scripting Help 03/05/2020, 06:51 PM
Replies: 10
Views: 162
Posted By ShadowMortar
Re: how to create a static bot?

Incognito streamer:

CreateDynamicActor(modelid, Float:x, Float:y, Float:z, Float:r, invulnerable = 1, Float:health = 100.0, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance =...
Forum: Scripting Help 03/05/2020, 06:49 PM
Replies: 4
Views: 100
Posted By ShadowMortar
Re: Is there way to create bool function ?

bool:IsAdmin( playerid ) {
if( PlayerInfo[ playerid ] [ Admin ] > 0 ) return ( true );
return ( false );
}

// Usage:
CMD:test( playerid ) {
if( !IsAdmin( playerid ) ) return...
Forum: Scripting Help 02/05/2020, 03:09 PM
Replies: 3
Views: 59
Posted By ShadowMortar
Re: Textdraw Help

https://forum.sa-mp.com/showthread.php?t=590179
Forum: Scripting Help 02/05/2020, 02:26 PM
Replies: 6
Views: 1,177
Posted By ShadowMortar
Re: Error 001: expected token: ";", but found ")"

Red marked is what is wrong, you've put wrong bracket ( ( and ) ) they are supposed to be ( { and } )
Forum: Gamemode Scripts 02/05/2020, 11:51 AM
Replies: 321
Views: 129,522
Posted By ShadowMortar
Re: South Central Roleplay 1.0

Yes, hire a developer or fix it yourself.
Forum: Scripting Help 02/05/2020, 11:46 AM
Replies: 1
Views: 47
Posted By ShadowMortar
Re: I need 3 script Trashmaster,ConstructionWorker,Farmer Job

Lol no, we are not your muppets so you can command us what to do.
This is the correct place to request:
https://forum.sa-mp.com/showthread.php?t=447813&page=1466
Forum: Scripting Help 02/05/2020, 11:44 AM
Replies: 10
Views: 150
Posted By ShadowMortar
Re: Help warning 215: expression has no effect

Because PlayerInfo[playerid][pE] has no value.
Example:

PlayerInfo[playerid][pE];//Return error

PlayerInfo[playerid][pE] = VALUE;//Considering pE is an integer, change 'VALUE' to in range of...
Forum: Scripting Help 01/05/2020, 11:01 AM
Replies: 9
Views: 124
Posted By ShadowMortar
Re: How to fix eror south central roleplay

Loading plugin: mysql
[14:52:54] Failed.
Forum: Scripting Help 01/05/2020, 10:56 AM
Replies: 1
Views: 74
Posted By ShadowMortar
Re: Bcrypt inserts no password in database

Try registering, check mysql.log, what I think is the problem, size of "Password" in sql.
Showing results 1 to 25 of 237

 

All times are GMT. The time now is 01:25 PM.


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