SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 300
Search took 0.01 seconds.
Search: Posts Made By: ShadowMortar
Forum: Gamemode Scripts 07/08/2020, 07:47 AM
Replies: 137
Views: 37,882
Posted By ShadowMortar
Forum: Includes 06/08/2020, 01:39 PM
Replies: 7
Views: 404
Posted By ShadowMortar
Re: samp-walking-styles | Mine fork of Ben Jackster's walking styles | 15+ walk styles

Clicking on
https://i.gyazo.com/aef60e9fe5c3c50b40a17cb55286971a.png
redirects you to the github repository.
Forum: Scripting Help 06/08/2020, 01:34 PM
Replies: 3
Views: 79
Posted By ShadowMortar
Forum: Scripting Help 06/08/2020, 08:11 AM
Replies: 5
Views: 60
Posted By ShadowMortar
Re: D:\Games\Chroma-rpg\pawno\Chroma-RPG.pwn(1039) : warning 225: unreachable code

Try:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_DRIVER)
{
new vehicleid = GetPlayerVehicleID(playerid);
if(vehicleid ==...
Forum: Scripting Help 06/08/2020, 08:03 AM
Replies: 5
Views: 60
Posted By ShadowMortar
Forum: Includes 06/08/2020, 07:51 AM
Replies: 2
Views: 146
Posted By ShadowMortar
Forum: Scripting Help 05/08/2020, 08:11 PM
Replies: 2
Views: 62
Posted By ShadowMortar
Re: Respawn

https://github.com/Pottus/ColAndreas
Forum: Scripting Help 05/08/2020, 08:14 AM
Replies: 1
Views: 70
Posted By ShadowMortar
Re: [Help] SQLITE TO MYSQL

MySQL has threaded queries, processed queries. The difference between (tquery) and (pquery) are that if you thread a query, the next query will be executed after the first one was, for example:...
Forum: Scripting Help 05/08/2020, 08:00 AM
Replies: 5
Views: 125
Posted By ShadowMortar
Re: [Help] comando

Sorry I don't speak picasso, can you translate that to English?
Forum: Scripting Help 04/08/2020, 04:27 PM
Replies: 4
Views: 133
Posted By ShadowMortar
Re: sscanf warning: Strings without a length are deprecated, please add a destination size.

In editv command you don't have string anywhere declared. Learn more about variables here:
https://wiki.sa-mp.com/wiki/Scripting_Basics#Variables
Forum: Scripting Help 04/08/2020, 03:46 PM
Replies: 4
Views: 133
Posted By ShadowMortar
Re: sscanf warning: Strings without a length are deprecated, please add a destination size.

You have:
new model[32], modelid, dealerid, color1, color2, price;
if(sscanf(params, "dsddd", dealerid, model, color1, color2, price))
It should be:
if(sscanf(params, "ds[32]ddd", dealerid,...
Forum: Scripting Help 04/08/2020, 03:18 PM
Replies: 2
Views: 60
Posted By ShadowMortar
Re: something wrong in code

enum rentE { model, Float:x, Float:y, Float:z, Float:rot }
new
rent[][rentE] =
{
{401, 1885.6707, -1296.1577, 13.2881, 65.0000},
{401, 1885.3182, -1300.4822, 13.2881, 65.0000},
{401,...
Forum: Scripting Help 04/08/2020, 03:16 PM
Replies: 4
Views: 100
Posted By ShadowMortar
Re: [HELP] a_http

That error tells you that
native HTTP(index, type, url[], data[], callback[]);
Is already declared somewhere.
Forum: Scripting Help 03/08/2020, 08:07 AM
Replies: 3
Views: 133
Posted By ShadowMortar
Re: Respawn cars

Could you rephrase your question?
Forum: Scripting Help 27/07/2020, 08:07 AM
Replies: 4
Views: 310
Posted By ShadowMortar
Re: What is wrong with my editfrank

Unknown column 'FactionAlterRank' in 'field list'

If you are running mariadb, try running this query under OnGameModeInit(make sure AFTER the query which connects to the database)
mysql_tquery(...
Forum: Scripting Help 27/07/2020, 08:03 AM
Replies: 2
Views: 160
Posted By ShadowMortar
Re: warning 202 and error 025

warning 202: number of arguments does not match definition

Suppose you have a function 'OnPlayerTroll'
OnPlayerTroll has let's say 4 arguments
1 - playerid
2 - Float:PosX
3 - Float:PosY
4 -...
Forum: Scripting Help 24/07/2020, 07:03 AM
Replies: 3
Views: 188
Posted By ShadowMortar
Re: CMD:factions dialog, only shows first fac SQL

for(new i = 0; i < cache_num_rows(); i++)
{
cache_get_value_name_int(0, "id", Factions[fid][ID]);
cache_get_value_name(0, "name", name);
cache_get_value_name_int(0,...
Forum: Scripting Help 22/07/2020, 02:25 PM
Replies: 9
Views: 272
Posted By ShadowMortar
Re: my pwn file become NULL

You need a better IDE than pawno, try sublime or visual studio code, search on ******, there's a tutorial how to set them up.
Forum: Scripting Help 21/07/2020, 08:02 AM
Replies: 2
Views: 130
Posted By ShadowMortar
Re: YSI help

Supposing you use YCMD:achievements(playerid, params[], help) and Command_AddAltNamed("achievements", "ach"); under OnGameModeInit(I think it should be placed there, not experienced with YCMD...
Forum: Scripting Help 19/07/2020, 08:04 AM
Replies: 2
Views: 164
Posted By ShadowMortar
Re: Function System!

Can you try
Iter_Init(Houses<MAX_HOUSES>);
Forum: Scripting Help 19/07/2020, 08:02 AM
Replies: 3
Views: 254
Posted By ShadowMortar
Re: Samp 0.3.dl

/setskin [pid] 20001 or 20002
Forum: Scripting Help 17/07/2020, 08:37 PM
Replies: 7
Views: 276
Posted By ShadowMortar
Re: dynamic doors

CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = STREAMER_OBJECT_SD, Float:drawdistance =...
Forum: Scripting Help 17/07/2020, 01:59 PM
Replies: 1
Views: 121
Posted By ShadowMortar
Re: foreach question

You need to switch the system to iterator:
new Iterator:iLobbies< MAX_LOBIES >;
Iter_Add( iLobbies, value );
Iter_Remove( iLobbies, value );
(...)
foreach( new i:iLobbies ) {
(...)
}
Forum: Scripting Help 15/07/2020, 02:10 PM
Replies: 4
Views: 182
Posted By ShadowMortar
Re: Cache MySQL

Everything that kwarde said but I have something to add.
Usually, I just can't be aresed to create a new function for threaded queries or processed(pquery, correct me if I'm wrong, they are...
Forum: Scripting Help 10/07/2020, 07:46 AM
Replies: 6
Views: 161
Posted By ShadowMortar
Re: Make dialog list item

https://i.gyazo.com/ba3cc222b71090593656a96a694a7610.png
Showing results 1 to 25 of 300

 

All times are GMT. The time now is 06:14 PM.


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