SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 144
Search took 0.01 seconds.
Search: Posts Made By: StevenLV
Forum: Tools and Files 14/06/2020, 07:17 AM
Replies: 0
Views: 414
Posted By StevenLV
Steven's Missing Bracket Finder (C++)

So, I have seen some missing bracket finders on the forum, but i used one and it tells opening and closing brackets.. not the line where missing bracket is. So this one tells you which bracket is...
Forum: Filterscripts 06/06/2020, 11:42 AM
Replies: 11
Views: 1,409
Posted By StevenLV
Re: Trading System [Stocks Type] - Meta Trade v4 Inspired - UNIQUE

Well i changed the textdraw from per player to global so now using only one textdraw .. and i guess its less memory consumer now
Forum: Filterscripts 03/06/2020, 11:14 AM
Replies: 11
Views: 1,409
Posted By StevenLV
Re: Trading System [Stocks Type] - Meta Trade v4 Inspired - UNIQUE

Thanks SkyFlare and Lakhwan, Also thanks pottus for your kind information.
I will take your info into consideration, but i can not modify it now as i am busy with classes etc.

Anyone who want to...
Forum: Filterscripts 31/05/2020, 04:49 AM
Replies: 11
Views: 1,409
Posted By StevenLV
Forum: Filterscripts 30/05/2020, 01:08 PM
Replies: 11
Views: 1,409
Posted By StevenLV
Cool Trading System [Stocks Type] - Meta Trade v4 Inspired - UNIQUE

Trading - Meta Trader v4 Type System

Well this is a Trading system in which you can trade, the rules are pretty simple!
1. Trade Types:
- BUY: When you are buying, The POINT must go UP means...
Forum: Scripting Help 25/05/2020, 04:52 AM
Replies: 6
Views: 187
Posted By StevenLV
Re: Rent Sytem

Use OnPlayerStateChange();
as newstate = PLAYER_STATE_DRIVER it works fine ..
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(oldstate == PLAYER_STATE_ONFOOT && newstate ==...
Forum: Scripting Help 25/05/2020, 04:47 AM
Replies: 6
Views: 163
Posted By StevenLV
Re: labels doesnt load

Changing from R35+ to R41 is not hard, it has a minor changes to the functions.
Well there is a thread as well: https://forum.sa-mp.com/showthread.php?t=616103
Forum: Scripting Help 24/05/2020, 07:35 AM
Replies: 11
Views: 235
Posted By StevenLV
Re: Pickups not loading from database (only a few)

Well you are showing a dialog, ShowPlayerDialog(playerid, DIALOG_CREATELABEL, DIALOG_STYLE_INPUT, "Creeaza un label:", "Scrie mai jos textul care vrei sa fie:", "Selecteaza", "Iesire");
Can you...
Forum: Scripting Help 24/05/2020, 04:18 AM
Replies: 11
Views: 235
Posted By StevenLV
Re: Pickups not loading from database (only a few)

Change your CreateDynamicPickup to this?:
CreateDynamicPickup(PickupInfo[id][pcModel], PickupInfo[id][pcType], PickupInfo[i][pcPos][0], PickupInfo[i][pcPos][1], PickupInfo[i][pcPos][2],...
Forum: Scripting Help 22/05/2020, 06:51 AM
Replies: 1
Views: 88
Posted By StevenLV
Re: error 035: argument type mismatch (argument 2)

If you search on the wiki for SetPlayerColor:

It is not a string. Hexadecimal is a number. So use a define maybe or use it as int however you want to.

An advice: When every you egt type...
Forum: Filterscripts 22/05/2020, 05:42 AM
Replies: 9
Views: 1,018
Posted By StevenLV
Forum: Filterscripts 21/05/2020, 07:46 AM
Replies: 9
Views: 1,018
Posted By StevenLV
Re: Steven's Dynamic House System [MySQL]

Oh shit, sorry bro I actually forgot to add a buy house command. It is simple to do it but i just forgot wil ladd.
Forum: Scripting Help 19/05/2020, 09:17 AM
Replies: 4
Views: 144
Posted By StevenLV
Re: I would like to ask about interior

If you need a list of house interiors:
enum _Interiors {
hintpack,
Float:hintx,
Float:hinty,
Float:hintz,
hinterior,
hvirtual,
hprice,
}
Forum: Scripting Help 19/05/2020, 09:13 AM
Replies: 6
Views: 183
Posted By StevenLV
Re: Problem with vehicles..

Well, When you are entering a house so you must be setting their interiors as well. so player interior id and virtual world might be changed to other value than 0. SO when you exit you have to set...
Forum: Scripting Help 19/05/2020, 09:08 AM
Replies: 16
Views: 247
Posted By StevenLV
Re: My Server Problem

Yep whenever you are making an index, make it zero at start
Forum: Scripting Help 19/05/2020, 08:39 AM
Replies: 16
Views: 247
Posted By StevenLV
Re: My Server Problem

Yep, Array Index always starts from zero. So yep
Forum: Scripting Help 19/05/2020, 08:37 AM
Replies: 4
Views: 106
Posted By StevenLV
Re: I got This error??????

Can you please show the enumerator gTeam or whatever it is ?
gTeam[ gPrototype[i][p_owner] ][gTeam[playerid]] This thing ! ?
Forum: Scripting Help 19/05/2020, 08:34 AM
Replies: 2
Views: 134
Posted By StevenLV
Re: Retrieve and Store all data from database into an array

Which mysql version you are using. + Please use threaded queries. Like:
mysql_tquery(MySQL Handle, "Query", "Call back where you load things", "parametrs if you want to pass", params);

and
...
Forum: Scripting Help 19/05/2020, 08:27 AM
Replies: 16
Views: 247
Posted By StevenLV
Re: My Server Problem

He meant you made a variable array index so set it to zero as well. cuz arrayindex starts from zero..
Forum: Filterscripts 19/05/2020, 04:12 AM
Replies: 9
Views: 1,018
Posted By StevenLV
Re: Steven's Dynamic House System [MySQL]

@Shadow, Thanks bro. Check it out and tell me any suggestion, any bug anything .. Thanks.
@Hunud, Uhm Its an standalone House system and it is as a filterscript for users who want to use just house....
Forum: Scripting Help 18/05/2020, 05:34 AM
Replies: 5
Views: 119
Posted By StevenLV
Re: I Need Help

[18/05/2020 01:10:06] [debug] Run time error 4: "Array index out of bounds"
[18/05/2020 01:10:06] [debug] Accessing element at index 12 past array upper bound 11

you are trying to access index...
Forum: Filterscripts 18/05/2020, 05:26 AM
Replies: 4,021
Views: 2,243,209
Posted By StevenLV
Re: Useful Functions

A poorly coded number checker, what does it do?
It gets me the number written in a string firstly. like Stringab12cd456gh returns 12 !
i wanted it in some process so did this shit:

like:...
Forum: Filterscripts 18/05/2020, 05:15 AM
Replies: 9
Views: 1,018
Posted By StevenLV
Steven's Dynamic House System [MySQL]

Well, I was lurking around with scripting and scripted a filterscript. It is a Dynamic House system. Hope you like it:

Features:
- Totally Dynamic + MYSQL R41
- Drugs storage
- Money storage
...
Forum: Scripting Help 18/05/2020, 04:39 AM
Replies: 9
Views: 171
Posted By StevenLV
Re: [Help] Beginner Help

Not everyone can reply to this thread bro, and why do you want to ask from EVERYONE xd ?
All are going to give you the same exact answer. The thing is, logic is more important than the syntax, you...
Forum: Filterscripts 12/10/2019, 05:22 AM
Replies: 2
[FilterScript] Hyperion Mega Ship Battle
Views: 1,409
Posted By StevenLV
Re: Hyperion Mega Ship Battle

Great script, loved it
Showing results 1 to 25 of 144

 

All times are GMT. The time now is 03:34 PM.


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