SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 425
Search took 0.02 seconds.
Search: Posts Made By: Fairuz
Forum: Plugin Development 03/08/2020, 02:13 PM
Replies: 16
Views: 514
Posted By Fairuz
Re: Textdraw Streamer

Rename the callback name. It's ambiguous.
Forum: Includes 28/07/2020, 04:55 PM
Replies: 8
Views: 447
Posted By Fairuz
Re: Samp Advanced Kicks | Kick with reason | Kick with delay

What? I don't see any reason making an include for this, you can simply set timer just like Symon posted.
Anyway, your repo has extra word 's', so it should be. Mergevos/samp-advanced-kicks
Forum: Scripting Help 27/07/2020, 12:43 AM
Replies: 1
Views: 150
Posted By Fairuz
Object is hit but doesn't get detected

if(hittype == BULLET_HIT_TYPE_PLAYER_OBJECT && p_inShootingRange{ playerid })
{
for(new i = 0; i < 7; i++)
{
if(hitid == gPlayerShootingRangeObjects[playerid][i])
{...
Forum: Includes 26/07/2020, 12:24 AM
Replies: 8
[Include] Model Sizes SQL
Views: 1,715
Posted By Fairuz
Re: Model Sizes SQL

I still have the same problem
Forum: Includes 24/07/2020, 08:12 PM
Replies: 8
[Include] Model Sizes SQL
Views: 1,715
Posted By Fairuz
Re: Model Sizes SQL

How much memory does the file need? (I'm using sqlitei)
I keep getting
[03:04:34] SQLitei Warning: (db_autofree_result) The autofree pool is full!
[03:04:34] SQLitei Warning: (db_autofree_result)...
Forum: Scripting Help 24/07/2020, 07:07 PM
Replies: 1
Views: 125
Posted By Fairuz
Re: Query suddently stops

I just realized I missed a comma.
Forum: Scripting Help 24/07/2020, 06:39 PM
Replies: 1
Views: 125
Posted By Fairuz
Query suddently stops

static
Query[ 1424 ];

if ( IsPlayerNPC( playerid ) )
return 0;

if ( p_PlayerLogged{ playerid } )
{
new
bool: bQuitToAvoid = false;
Forum: General 21/07/2020, 07:11 AM
Replies: 22
Views: 2,012
Posted By Fairuz
Re: Getting players hooked more and more

I thought you posted random link but it's actually a great site. Thank you! I will look more into it
Forum: Everything and Nothing 10/07/2020, 03:26 PM
Replies: 3
Views: 336
Posted By Fairuz
Forum: Everything and Nothing 10/07/2020, 01:38 PM
Replies: 3
Views: 336
Posted By Fairuz
SA-MP Server with Go°gle Cloud Platform

Does anyone here uses GCP for their SA-MP Server?
Is there any issue if I'm using it for sa-mp server?
Forum: Scripting Help 09/07/2020, 03:04 PM
Replies: 8
Views: 265
Posted By Fairuz
Re: About difference

According to the thread yes, it also reduces your file size. but, I recommend you to use y_bit
https://forum.sa-mp.com/showthread.php?t=489897
Forum: Scripting Help 05/07/2020, 05:41 PM
Replies: 4
Views: 124
Posted By Fairuz
Re: Normal char array -> BitArray

Last question, do I have to reset it everytime player disconnects just like normal variables?
Forum: Scripting Help 05/07/2020, 05:15 PM
Replies: 4
Views: 124
Posted By Fairuz
Forum: Scripting Help 05/07/2020, 04:45 PM
Replies: 4
Views: 124
Posted By Fairuz
Normal char array -> BitArray

I want to convert normal char array to YSI's bit.
stock IsPlayerSpawned( playerid ) return p_Spawned{ playerid };

to
stock IsPlayerSpawned( playerid ) return Bit_Get(BitArray: p_Spawned{...
Forum: Tools and Files 05/07/2020, 03:21 PM
Replies: 13
[Tool/Web/Other] VisualTexture l Pawn - SA:MP
Views: 2,670
Posted By Fairuz
Forum: Scripting Help 03/07/2020, 01:22 PM
Replies: 2
Views: 142
Posted By Fairuz
Re: MySQL can't connect

Sorry for lack of information, I got it working anyway.
Forum: Scripting Help 03/07/2020, 02:27 AM
Replies: 2
Views: 142
Posted By Fairuz
MySQL can't connect

I'm migrating my server to a new one, setting up the database etc. but I my sa-mp server always failed to connect even though the password is right, I even can access it with mysql or phpmyadmin. How...
Forum: Plugin Development 01/07/2020, 02:44 PM
Replies: 27
Views: 7,677
Posted By Fairuz
Re: samp-precise-timers ⌚: A timer plugin written in the memory-safe Rust language. Check it out, you might like Rust!

So we just have to change SetTimer(also SetTimerEx) to SetPreciseTimer and KillTimer to DeletePreciseTimer?
Forum: Scripting Help 27/06/2020, 02:09 PM
Replies: 6
Views: 197
Posted By Fairuz
Re: Ternary operator

Thank you guys for helping me! Also Kwarde for your suggestion, I'll keep that in mind.
Forum: Scripting Help 26/06/2020, 08:30 AM
Replies: 6
Views: 197
Posted By Fairuz
Ternary operator

I read about ternary operator since weeks ago but still can't use it at some point

Can this be 'converted' to ternary operator to make the code looks simple? and how?
new bait = p_UsingBait{...
Forum: Everything and Nothing 25/06/2020, 08:54 PM
Replies: 27
Views: 3,904
Posted By Fairuz
Re: How long did it take you to learn Pawn programming language?

Played sa-mp around 2012/2013(golden days for me back then) started scripting in 2014/2015(just simple things like changing text, moving positions and using a lot of FS' lol) learned it through the...
Forum: Scripting Help 18/06/2020, 08:55 AM
Replies: 2
Views: 109
Posted By Fairuz
Re: Progress bar not showing up

Yes, apparently MapFix caused this, not sure though.. I'll try to test more without MapFix
Forum: Scripting Help 18/06/2020, 05:33 AM
Replies: 1
Views: 90
Posted By Fairuz
Re: I get an eror at my roulette sistem

GivePlayerCash(i, x != 1 ? PlaceBet[i][x] * 2 : PlaceBet[i][x] * 14);
Forum: Scripting Help 18/06/2020, 05:29 AM
Replies: 2
Views: 109
Posted By Fairuz
Progress bar not showing up

My progress bar doesn't show up, however it works before I updated my gamemode.
stock ShowProgressBar( playerid, title[ 64 ], progress_id, total_time = 1000, color, params = 0 )
{
if (...
Forum: Includes 13/06/2020, 04:54 AM
Replies: 1,356
Views: 340,733
Posted By Fairuz
Re: Nex-AC - Anticheat system

Vehicle Fly Hack/ Surfly is only detected at certain speed? Is this expected?
Showing results 1 to 25 of 425

 

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


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