SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: Ghazal
Forum: Scripting Help 15/07/2020, 05:30 PM
Replies: 3
Views: 173
Posted By Ghazal
Re: random numbers

https://wiki.sa-mp.com/wiki/Random

Not sure if this is what you mean but you could make something like

printf("Random value is %f", 1000-random(20));
Forum: Scripting Help 15/07/2020, 04:34 PM
Replies: 7
Views: 262
Posted By Ghazal
Re: How to do this cmd to short

Use xRadical3's way, it is way better..
Forum: Screenshots and Videos 15/07/2020, 02:40 PM
Replies: 3
Views: 471
Posted By Ghazal
Re: What's Up Danger?

Nice man, but why is the skydive map so empty? I have seen way better skydiving maps tbh
Forum: Scripting Help 15/07/2020, 02:35 PM
Replies: 7
Views: 304
Posted By Ghazal
Re: Server Crash

To optimize your code, you might want to look into this:
http://forum.sa-mp.com/showthread.php?t=216730
http://forum.sa-mp.com/showthread.php?t=580289...
Forum: Scripting Help 15/07/2020, 02:33 PM
Replies: 1
Views: 139
Posted By Ghazal
Re: SetOjectMaterialTexte

Hey, I have no experience with material texts but, you are creating a Dynamic Object but then using a Regular Object's Material Text? I think that could be it.

There's a function to set streamer's...
Forum: Scripting Help 15/07/2020, 02:26 PM
Replies: 1
Views: 121
Posted By Ghazal
Re: can i change pd car siren sound or volume?

You are in the wrong section. This section is to guide you in coding, not modding your game.

However, I do not think there is a "patch" or a "cleo" to adjust it anyway.
Forum: Scripting Help 15/07/2020, 02:24 PM
Replies: 2
Views: 103
Posted By Ghazal
Re: PlayerTextDraw 10 min countdown timer

This is a pretty good example for it. https://forum.sa-mp.com/showpost.php?p=3990248&postcount=3
Forum: Scripting Help 15/07/2020, 02:22 PM
Replies: 4
Views: 158
Posted By Ghazal
Re: Qustion

Yeah because you should not be using the same exact script they gave you. They were just giving you an example..

Look, to give "everyone" 5 coins, you are going to have to loop through all the...
Forum: Scripting Help 11/07/2020, 12:21 PM
Replies: 6
Views: 299
Posted By Ghazal
Re: Pool / Snooker Minigame Help

Oh really? I think his signature says otherwise.
https://i.imgur.com/9K6ICzH.png

The game mode is not mine after all, he can use it to learn or whatsoever, but, it is very annoying he is using a...
Forum: Scripting Help 11/07/2020, 12:08 PM
Replies: 6
Views: 299
Posted By Ghazal
Re: Pool / Snooker Minigame Help

But, hey? Why are you even using xSF's name? The game-mode was released to the public and the author clearly mentioned not to use their server name..
Forum: Scripting Help 10/07/2020, 07:38 PM
Replies: 7
Views: 287
Posted By Ghazal
Re: Attaching textdraw to player

Make a command to toggle on-duty on or godmode, use CreateDynamic3DTextLabel or Create3DTextLabel

CreateDynamic3DTextLabel( const text[], color, Float:x, Float:y, Float:z, Float:drawdistance,...
Forum: Scripting Help 10/07/2020, 04:39 PM
Replies: 3
Views: 202
Posted By Ghazal
Re: Textdraw Font Name

It looks like 'Bank Gothic', not very sure it's the one used but they are very similar
Forum: Scripting Help 10/07/2020, 04:29 PM
Replies: 5
Views: 195
Posted By Ghazal
Re: Players being kicked from the server

What SA-MP server version do you use? Make sure to upgrade to the latest SA-MP version, it could be worth the try
Forum: Scripting Help 22/06/2020, 06:03 PM
Replies: 3
Views: 156
Posted By Ghazal
Re: Empty .amx file

It could also be something like
FunctionName(playerid);
{
//Statements
return 1;
}

As you can see, the semi column ending the function header but I still type a body for the function
Forum: Scripting Help 21/06/2020, 02:33 PM
Replies: 6
Views: 160
Posted By Ghazal
Re: ask about saving data

I am not certain what you mean but, are you sure you are using the same command processor you use for other commands? And, the command itself looks weird for me, in the client message, you say it...
Forum: Screenshots and Videos 25/05/2020, 03:36 AM
Replies: 4
Views: 421
Posted By Ghazal
Re: Epic Stunt

Very nice stunts buddy! Do you have a Discord account? if so, please hmu with your ID!
Forum: Scripting Help 18/05/2020, 01:37 AM
Replies: 6
Views: 145
Posted By Ghazal
Re: it helps how I do a skin textdraw like this?

Hey, there's also a tutorial about model selection menus here:

https://forum.sa-mp.com/showthread.php?t=500205
Forum: Scripting Help 18/05/2020, 01:32 AM
Replies: 7
Views: 166
Posted By Ghazal
Re: logging error wrong password

I'd recommend you to get over this and build a MySQL registration system better, INI is way too outdated anyway.
This tutorial will explain how to build one with MySQL R41-2 and a SHA256 password...
Forum: Scripting Help 18/05/2020, 01:25 AM
Replies: 5
Views: 201
Posted By Ghazal
Re: countdown for near players

You can have something like this or just loop all connected players and check if they're in range with the countdown issuer using IsPlayerInRangeOfPoint by getting the issuer's position and comparing...
Forum: Scripting Help 04/05/2020, 01:02 AM
Replies: 13
Views: 238
Posted By Ghazal
Re: Return help

Ateast we fixed something, anyway, compile your code with -d3 and show us the error lines
Forum: Scripting Help 04/05/2020, 12:37 AM
Replies: 13
Views: 238
Posted By Ghazal
Re: Return help

I assume you're using PatrickGTR's include. I've went through the include and he has forgotten to check if the store isn't robbed under OnPlayerKeyStateChange.
Change his OnPlayerKeyStateChange...
Forum: Scripting Help 04/05/2020, 12:32 AM
Replies: 10
Views: 188
Posted By Ghazal
Re: how to create a static bot?

You have to update your includes to the latest ones (0.3.7) to be able to use the actors.
Forum: Scripting Help 04/05/2020, 12:29 AM
Replies: 14
Views: 335
Posted By Ghazal
Re: Speedometer

https://forum.sa-mp.com/showthread.php?t=660218
https://forum.sa-mp.com/showthread.php?t=625685
Forum: Scripting Help 29/04/2020, 07:32 PM
Replies: 2
Views: 84
Posted By Ghazal
Re: Help

https://wiki.sa-mp.com/wroot/index.php?title=SetPlayerColor&printable=yes

You can use SetPlayerColor when the player chooses to spawn as a COP to blue and SetPlayerColor to yellow on committing a...
Forum: Scripting Help 29/04/2020, 07:28 PM
Replies: 1
Views: 99
Posted By Ghazal
Re: Tab Space in Textdraw Menu

There's no way to tabulate textdraws. However, you can use two seperate textdraws.
Something like that:


Textdraw1 Textdraw2
AAAAA ...
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 10:42 AM.


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