SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 78
Search took 0.00 seconds.
Search: Posts Made By: AmirSavand
Forum: Scripting Help 16/04/2019, 05:12 AM
Replies: 13
Views: 507
Posted By AmirSavand
Re: How to insert large amount of data to sql table?

Search for it, search for saving and loading systems, ton of examples and tutorials.
Forum: Scripting Help 15/04/2019, 03:10 PM
Replies: 5
Views: 241
Posted By AmirSavand
Re: Respawn vehicles

You need to loop through all vehicles and check their distance and see if anyone's in em.
Forum: Scripting Help 27/11/2018, 01:37 PM
Replies: 4
Views: 292
Posted By AmirSavand
Re: Slow Map Loading

Objects stream based on distance, there's a good reason for that.

You need to change the stream distance to a larger value.
Forum: Scripting Help 27/11/2018, 01:34 PM
Replies: 5
Views: 421
Posted By AmirSavand
Re: Problem Get Player in personal vehicle

You're accessing an array with an invalid index, show the line number and the line where the backtracke is showing you.
Forum: Plugin Development 26/11/2018, 12:14 PM
Replies: 39
[Plugin] PawnScraper
Views: 9,513
Posted By AmirSavand
Re: PawnScraper

SAMP http requests are known to fail without a reason so does the http calls here always succeed without bugs?
Forum: Plugin Development 18/11/2018, 06:51 PM
Replies: 20
Views: 4,564
Posted By AmirSavand
Re: SAMP GameMode in Assembly (SGMA)

You won't be able to write a gamemode in paint, you ****ing loser.
Forum: Scripting Help 13/11/2018, 09:47 AM
Replies: 2
Views: 196
Posted By AmirSavand
Re: Name fam 3d text help

What? Explain a bit more about your issue.
Forum: Scripting Help 13/11/2018, 09:45 AM
Replies: 1
Views: 132
Posted By AmirSavand
Re: Unkown Command

If you're using ZCMD:


public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if (!success)
{
SendClientMessage(playerid, COLOR_RED, "Hey you enterred a wrong...
Forum: Scripting Help 09/11/2018, 10:14 AM
Replies: 5
Views: 277
Posted By AmirSavand
Re: Duels System

Exactly. What do you mean how? You can post in a separate thread to ask for scripts.
Forum: Scripting Help 09/11/2018, 10:02 AM
Replies: 2
Views: 245
Posted By AmirSavand
Re: Windows SAMP Server on MAC?

If you can not do anything else about it, you can still use a USB flash drive and install Linux on it.

You'd have to know how to boot to it, that's it.
Forum: Everything and Nothing 31/10/2018, 01:29 AM
Replies: 50
Views: 4,796
Posted By AmirSavand
Re: Share your favorite movie quotes

"The only time success comes before work is in the dictionary." - Harvey Specter
Forum: Filterscripts 28/10/2018, 01:34 AM
Replies: 15
Views: 8,395
Posted By AmirSavand
Re: New vehicle speedometer! Good for RP servers!

I don't want to argue but I see no reason to provide pastebin when source code is already there in github.

Anyway, I made few suggestions and tasks, would be good if someone used it and made these...
Forum: Filterscripts 28/10/2018, 01:25 AM
Replies: 15
Views: 8,395
Posted By AmirSavand
Re: New vehicle speedometer! Good for RP servers!

Well those people are doing it wrong too, almost any file that can be generated should be in .gitignore

Also, you don't have to provide a pastebin when you have the source in github. Remove it.
Forum: Scripting Help 25/10/2018, 09:31 PM
Replies: 5
Views: 215
Posted By AmirSavand
Re: urgent help

Agreed, currently there are really annoying titles in Scripting Help such as:

> Help with a crash!
> Need little help about this
> urgent help
> Warning
Forum: Scripting Help 25/10/2018, 09:28 PM
Replies: 2
Views: 205
Posted By AmirSavand
Re: ownable skins

First, you need the list of available skins in a table.

Then you will make another table to reference players and their skins (player: 1, skin: 1 (which means, player 1 owns the skin 1 (id in...
Forum: Server Support 25/10/2018, 09:18 PM
Replies: 5
Views: 483
Posted By AmirSavand
Re: Error on MYSQL table

Looks like your database is not initialized. This should happen automatically when server starts or database schema is stored in a file in the source code.
Forum: Server Support 25/10/2018, 09:15 PM
Replies: 2
Views: 368
Posted By AmirSavand
Re: Chat logs - SSH

Southclaw gave you all the info you'd need and this is more like a linux/ssh question, you can find tons of answers in ****** (search engine name there :D).
Forum: Includes 24/10/2018, 01:08 AM
Replies: 852
Views: 189,638
Posted By AmirSavand
Re: weapon-config.inc - Damage system with many features

You can update the code and remove the health bar textdraw.
Forum: Includes 24/10/2018, 01:02 AM
Replies: 21
[Include] first-blood.inc
Views: 2,926
Posted By AmirSavand
Re: first-blood.inc

Agreed and since some are triggered I had some time and updated this.



Thanks and you're right.



New version: v1.1
Forum: Filterscripts 23/10/2018, 01:24 AM
Replies: 1,170
Sticky: Useful Snippets
Views: 599,730
Posted By AmirSavand
Re: Useful Snippets

This is a terrible script. Some hosts may even disable your VPS if you're running at max CPU usage for a long time.
Forum: Includes 12/10/2018, 06:11 PM
Replies: 7
Views: 5,288
Posted By AmirSavand
Re: pause.inc (Check for players pause/AFK status.)

Thanks for your awesome feedback!

I finally had some time and updated it: revisions#diff-6701a637455914255c0741977f75a2a7...
Forum: Includes 08/10/2018, 11:30 PM
Replies: 7
Views: 5,288
Posted By AmirSavand
Re: pause.inc (Check for players pause/AFK status.)

I hook the functions in different includes in my mode so I need them to be called like that and less code this way lol.



Nice script, I left a comment on it.
Forum: Includes 08/10/2018, 10:37 PM
Replies: 7
Views: 5,288
Posted By AmirSavand
Re: pause.inc (Check for players pause/AFK status.)

Thanks for the feedback!

That include is pretty useful too.
Forum: Includes 08/10/2018, 09:09 PM
Replies: 7
Views: 5,288
Posted By AmirSavand
Lightbulb pause.inc (Handle players pause status.)

Pause (v1.1)

View code and download: https://gist.github.com/AmirSavand/989d2b75a9fcea21c557570cc5902221

Leave comments here or on the GitHub page if you have any questions/suggestions.

...
Forum: Includes 26/09/2018, 10:15 AM
Replies: 21
[Include] first-blood.inc
Views: 2,926
Posted By AmirSavand
Re: first-blood.inc

Glad you like it guys!



I know about the hooks but like I said, in my modes, OnPlayerDeath is not always the case but feel free to fork it and add the hook version too ;)
Showing results 1 to 25 of 78

 

All times are GMT. The time now is 07:47 AM.


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