SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.04 seconds.
Search: Posts Made By: Bakr
Forum: Scripting Help 18/04/2015, 07:25 AM
Replies: 7
Views: 871
Posted By Bakr
Re: Load All .ini file with dini?

It's still not ideal for what he's trying to do. Why not have a single query that would return everything he needs?
Forum: Scripting Help 18/04/2015, 06:51 AM
Replies: 7
Views: 871
Posted By Bakr
Re: Load All .ini file with dini?

Don't use dini...it's outdated, unsupported, and one of the slowest methods available. SQL would be ideal for what you are trying to do. Try using SQLite (a_sampdb.inc)

@ATGOggy: It takes time to...
Forum: Tutorials 18/04/2015, 06:25 AM
Replies: 91
Views: 26,666
Posted By Bakr
Re: Re : Stop the abuse of stock!

Thank you for posting this. It really irks me that people write code when they don't really know what it does.
Forum: Scripting Help 15/11/2014, 12:35 PM
Replies: 8
Views: 2,519
Posted By Bakr
Re: One "global" timer or "Per-player" timer?

If you have only one timer (execution time is obviously exaggerated):

Player sync
Timer called (exec time = 5 seconds)
Timer ends > players go without sync for 5 seconds
Player sync

If you...
Forum: Scripting Help 15/11/2014, 09:49 AM
Replies: 3
Views: 919
Posted By Bakr
Re: when should #emit be used

http://forum.sa-mp.com/showthread.php?t=315531

I think the first line sums it up.
Forum: Scripting Help 15/11/2014, 09:44 AM
Replies: 8
Views: 2,519
Posted By Bakr
Re: One "global" timer or "Per-player" timer?

http://forum.sa-mp.com/showthread.php?t=61322

Missed this thread somehow.
Forum: Scripting Help 15/11/2014, 08:43 AM
Replies: 5
Views: 470
Posted By Bakr
Re: If player is near ANY hitman, how?

@dominik523: Your code is practically identical. You are just using foreach and different variable names.

This is your problem:

if(IsPlayerConnected(i)) continue;

You are stepping over that...
Forum: Scripting Help 15/11/2014, 08:40 AM
Replies: 2
Views: 466
Posted By Bakr
Re: GetPlayerWeapon&State Driver problem

You could use SetPlayerArmedWeapon() when the player is entering a vehicle and check if it changes from that while in the vehicle.
Forum: Scripting Help 15/11/2014, 08:23 AM
Replies: 8
Views: 2,519
Posted By Bakr
Re: One "global" timer or "Per-player" timer?

Use a single global timer. You'll be calling the same amount of code whether or not it's in a single timer or per-player timers (except for a loop (use foreach)).
Forum: Everything and Nothing 20/10/2014, 04:38 AM
Replies: 98
Views: 7,873
Posted By Bakr
Re: Ebola?

Your graph is no help for making predictions (lack of trends and variables), which is what he was "arguing" about.

Also note the word "estimates" in the picture. Lol.
Forum: Everything and Nothing 20/10/2014, 12:13 AM
Replies: 98
Views: 7,873
Posted By Bakr
Re: Ebola?

Pathetic.


What else would you base that argument on? When you make a budget, you estimate your spending. When you fill up your tank, you estimate how long it will last. You'll never know exact...
Forum: Everything and Nothing 27/09/2014, 04:48 AM
Replies: 122
Views: 8,720
Posted By Bakr
Re: India creates History

The reality is the superpowers of the world all have nuclear weapons and it's only a matter of time before they are used. The recent outbreaks all across the world are indications of what is next....
Forum: Everything and Nothing 26/09/2014, 04:27 AM
Replies: 122
Views: 8,720
Posted By Bakr
Re: India creates History

In 1-2 centuries the only thing on peoples' minds will be survival.


*Previously insinuates we don't care about our space programs*
*Now insinuates it is the only thing the US cares about*...
Forum: Server Support 09/08/2014, 06:46 AM
Replies: 14,746
Views: 1,879,239
Posted By Bakr
Re: Looking for scripters/helpers? Post here!

Looking to join a community's development team. No RP or CnR. I'm fine with working together to begin a new mode as well.

Any further information contact me on Skype: b-whitmire
Forum: Scripting Help 05/08/2014, 06:47 AM
Replies: 1
Views: 1,522
Posted By Bakr
Re: Warning: client exceeded "ackslimit"

http://forum.sa-mp.com/showthread.php?t=506214
Forum: Scripting Help 05/08/2014, 06:45 AM
Replies: 5
Views: 2,078
Posted By Bakr
Re: fake players for rp server

http://wiki.sa-mp.com/wiki/NPC:Main_Page

http://forum.sa-mp.com/showthread.php?t=355372
Forum: Everything and Nothing 31/01/2014, 02:33 AM
Replies: 29
Views: 3,170
Posted By Bakr
Re: Respuesta: Anyone ever saw shadow people, or any kind of demon, or weird experience? (dark side)

Review the brain activities of someone while they are "seeing" this "hat man". It will resemble same activities of dreams and schizophrenics who are experiencing hallucinations.
Forum: Everything and Nothing 30/01/2014, 12:14 AM
Replies: 29
Views: 3,170
Posted By Bakr
Re: Anyone ever saw shadow people, or any kind of demon, or weird experience? (dark side)

Lol.

Oh, if only people researched the psychology and physiology behind paranormal activity and religion. The world would be so much better.

(Not bashing on one's beliefs, BTW).
Forum: Everything and Nothing 22/01/2014, 12:52 AM
Replies: 58
Views: 3,467
Posted By Bakr
Re: The best cartoons?

Courage the Cowardly Dog
Ed, Edd, and Eddy
Johnny Bravo
Teen Titans
Grim Adventures of Billy and Mandy
Powerpuff Girls
Samurai Jack
Dexter's Labratory

So many good ones I cannot even...
Forum: Everything and Nothing 06/01/2014, 08:19 PM
Replies: 54
Views: 3,636
Posted By Bakr
Re: 1/6/2014 - a day to remember!!

We should have a thread everyday recapping what happened regarding SA:MP!!!
Forum: Scripting Help 03/01/2014, 09:17 AM
Replies: 4
Views: 547
Posted By Bakr
Re: /deposit ; /transfer ; /withdraw error

This is most likely your problem:

if(BizzInfo[PlayerInfo[playerid][InBusiness]][bType] == 8 || IsPlayerNearBank(playerid))


IsPlayerNearBank(playerid) is only checking if the value returned is...
Forum: Scripting Help 03/01/2014, 09:12 AM
Replies: 4
Views: 871
Posted By Bakr
Re: Near object

http://wiki.sa-mp.com/wiki/Control_Structures#Loops
Forum: Scripting Help 03/01/2014, 09:00 AM
Replies: 9
Views: 593
Posted By Bakr
Re: AW: Re: Error Clear chat?

Yours will still display "Chat Box Cleared" even if the player was not of the appropriate level.
Forum: Scripting Help 03/01/2014, 08:54 AM
Replies: 4
Views: 547
Posted By Bakr
Re: /deposit ; /transfer ; /withdraw error

Show,

1) IsPlayerNearBank function
2) Any data associated with bank locations
3) Where you load the bank locations
Forum: Filterscripts 02/01/2014, 11:17 AM
Replies: 4,019
Views: 2,230,302
Posted By Bakr
Re: Useful Functions

The seconds exceeding 59 was my point.

Hint - use a loop.
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 02:39 AM.


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