SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: GTLS
Forum: Scripting Help 19/02/2020, 04:48 AM
Replies: 5
Views: 140
Posted By GTLS
Re: [Help] Edit the name of the cars on your server.

If you want different names for same vehicles for different players, you must save it along side vehicle database instead of using an array i mentioned above. For eg, save Ford Explorer in the...
Forum: Scripting Help 19/02/2020, 04:37 AM
Replies: 3
Views: 94
Posted By GTLS
Re: Bug on load Buisness.

That is the syntax for MySQL R40+. He is using R33+.


Show me exact line with error. Because you are saving ID in database and retrieving it each time, it doesnt matter if it starts with 0 or 1.
Forum: Scripting Help 18/02/2020, 05:09 AM
Replies: 5
Views: 110
Posted By GTLS
Re: Help with dialog

Use enum to manage dialogids. You dont have to worry about them this way.
Forum: Scripting Help 18/02/2020, 05:01 AM
Replies: 5
Views: 125
Posted By GTLS
Re: Help with accounts

Show us the code. Without it not possible to help for anyone.
Forum: Scripting Help 18/02/2020, 04:59 AM
Replies: 2
Views: 82
Posted By GTLS
Re: how to fix that please help me i'm beginner

Plugins issue. Redownload all plugins and reimport them. Make sure to recompile the script aswell.
Forum: Scripting Help 18/02/2020, 04:56 AM
Replies: 5
Views: 140
Posted By GTLS
Re: [Help] Edit the name of the cars on your server.

https://forum.sa-mp.com/showthread.php?t=410846 - Use this array and change the names there. Use this array for showing cars name. (return Obj Model-400 to get model name)
Forum: Scripting Help 18/02/2020, 04:53 AM
Replies: 2
Views: 50
Posted By GTLS
Re: Object instead of red checkpoint for interior entrance?

Yes. Use CreateDynamicPickup which calls OnPlayerPickUpDynamicPickup upon player picking up. Make a check if the pickup id is the door, then change player's position and interior according to your...
Forum: Scripting Help 28/01/2020, 02:01 PM
Replies: 7
Views: 282
Posted By GTLS
Re: TextDraw Can't Select

Question has been answered here. Use that in your command to be able to select it.
Forum: Scripting Help 28/01/2020, 01:58 PM
Replies: 10
Views: 241
Posted By GTLS
Re: 03-dl

https://forum.sa-mp.com/showthread.php?t=656282 - Make a filterscript and load your custom items from there not artconfig. If you update the script, just reload the filterscript and it works.
Forum: Scripting Help 29/11/2019, 05:58 AM
Replies: 1
Views: 214
Posted By GTLS
Re: Need help

cache_get_data returns number of rows and columns returned by the query not the data.

Do it like this:

mysql_query(mySQLconnection, sprintf("SELECT haslo FROM ipb_characters WHERE char_name =...
Forum: Scripting Help 29/11/2019, 05:46 AM
Replies: 4
Views: 250
Posted By GTLS
Re: Problem with UserControlPanel

This isnt PHP forum. Try PHP developers on websites like Stackoverflow or somethin..
Forum: Scripting Help 07/09/2019, 10:00 AM
Replies: 5
Views: 143
Posted By GTLS
Re: Help Y_INI SAVING

You dont need a separate variable 'j' though.
Forum: Scripting Help 06/09/2019, 01:32 PM
Replies: 6
Views: 246
Posted By GTLS
Re: Need a Little help

Dude, I told you to show "whole" server log not just error line. The line you are showing doesnt tell what the problem is but it tells where the problem is.
Forum: Scripting Help 06/09/2019, 01:29 PM
Replies: 5
Views: 143
Posted By GTLS
Re: Help Y_INI SAVING

To answer your question, yes it is possible.

But is it recommended?

No. You dont need saving like that. If you are still worried, you could save your data each paycheck ((if its a RP server))...
Forum: Scripting Help 06/09/2019, 01:25 PM
Replies: 4
Views: 132
Posted By GTLS
Re: Mysql is not deleting

If its not throwing any error, print the value of pos[0] and debug if it exists in the database or not.

PS I dont know what you are trying to achieve with that query. Using float values to send...
Forum: Scripting Help 04/09/2019, 03:16 PM
Replies: 18
Views: 597
Posted By GTLS
Re: Progress bar

Exactly what I wanted to ask what Threshold asked you.

he meant,
What were the values of Max EXP, Current EXP and Current Level in the example screenshot you posted above. If there is some...
Forum: Scripting Help 04/09/2019, 03:10 PM
Replies: 6
Views: 246
Posted By GTLS
Re: Need a Little help

show your whole log. Not just a line.
Forum: Scripting Help 02/09/2019, 04:20 PM
Replies: 4
Views: 181
Posted By GTLS
Re: Help Me Pawn.CMD

Show Enum of Flags, and make sure you have assigned the flags properly too. Also show where you have given specific player the flag permissions.
Forum: Scripting Help 02/09/2019, 04:18 PM
Replies: 11
Views: 635
Posted By GTLS
Re: AC - flying car

Yes It could if the player is lagging or is desynced. That is why, instead of directly banning, show warnings to admin about it and afterwards they can check manually.
Forum: Scripting Help 01/09/2019, 07:07 AM
Replies: 2
Views: 180
Posted By GTLS
Re: y_timers

These are functions. Not variables. You dont have to declare them.

https://forum.sa-mp.com/showthread.php?t=570909
Forum: Scripting Help 01/09/2019, 07:04 AM
Replies: 4
Views: 135
Posted By GTLS
Re: error 012: invalid function call, not a valid address

static Float:Cuttingupd [MAX_PLAYERS];

I dont think you have to declare them like this. They are functions, so you dont have to declare them as variables. Remove this line and it will work.
Forum: Discussion 31/08/2019, 07:51 AM
Replies: 6
Views: 948
Posted By GTLS
Re: Random numbers

The current random number logic is BY FAR the most accurate than in the past. Although, you can create your own algorithm using your formula to try to create a better random generator but the odds...
Forum: Scripting Help 31/08/2019, 07:31 AM
Replies: 18
Views: 597
Posted By GTLS
Re: Progress bar

You need (Level * 4) exp to level up?

SetPlayerProgressBarValue(playerid, LevelBar[playerid], ReturnPlayerExp(playerid)/exp);

EDIT:

Also make sure to do this:

...
Forum: Scripting Help 31/08/2019, 07:27 AM
Replies: 11
Views: 635
Posted By GTLS
Re: AC - flying car

https://forum.sa-mp.com/showthread.php?t=618884 - You need to translate it though.
Forum: Scripting Help 31/08/2019, 07:24 AM
Replies: 6
Views: 196
Posted By GTLS
Re: How do I fix these errors?

You need MySQL R41+ not R39. Download R41-4 package. Add Include file to include folder and re-compile your script. Later, add mysql.dll file to your plugins folder and run the server. Make sure you...
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 10:05 PM.


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