SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.01 seconds.
Search: Posts Made By: Mugala
Forum: Scripting Help 20/06/2018, 01:16 AM
Replies: 1
Views: 99
Posted By Mugala
In searching of Weapon Reload SoundID

Hey guys, it's not actually a scripting help but I need an ID of Weapon Reload SOUND.
please don't makee posts like "it's not requesting section"
Thanks in advance.
Forum: Scripting Help 04/06/2018, 03:26 PM
Replies: 3
Views: 122
Posted By Mugala
Re: clan problem

GetClanMembers <-- type this function here, problem must be in.
Forum: Scripting Help 28/05/2018, 12:23 PM
Replies: 4
Views: 129
Posted By Mugala
Re: Best way to save many values(0,1) [MySQL]

which is comfortable for u? do as u wish.
but I suggest several tables.
Forum: Scripting Help 28/05/2018, 12:21 PM
Replies: 4
Views: 151
Posted By Mugala
Re: Cuff Command

change this if(allTeams[playerid] == TEAM_POLICE) return SendClientMessage(playerid,COLOR_RED, "ERROR: You need to be a police officer or a army member!");
if(allTeams[playerid] ==...
Forum: Scripting Help 28/05/2018, 11:06 AM
Replies: 4
Views: 164
Posted By Mugala
Re: Vehicle Health and Fuel

I know, it's only visual part. (like KamilPolska asked)
Forum: Scripting Help 28/05/2018, 12:44 AM
Replies: 5
Views: 176
Posted By Mugala
Re: Not adding space on MYSQL

what about to add space here? (in red)
format(kstr, sizeof(kstr), "'<a href=player.php?p=%s>%s</a> ' ", PlayerName(killerid), PlayerName(killerid) );
Forum: Scripting Help 28/05/2018, 12:41 AM
Replies: 3
Views: 208
Posted By Mugala
Re: Register Login system

firstly you have to check if the player is registered or not (in your database)
than you must show the correct dialog with first statement (registered or not registered)
you must use...
Forum: Scripting Help 28/05/2018, 12:33 AM
Replies: 7
Views: 231
Posted By Mugala
Re: Suppressor System

for first, take care of brackets.
CMD:usp(playerid, params[])
{
GivePlayerWeapon(playerid, 22, 10);
SendClientMessage(playerid, COLOR_AQUA, "You have been given a Colt 45");
return...
Forum: Scripting Help 28/05/2018, 12:28 AM
Replies: 7
Views: 246
Posted By Mugala
Re: help plis

If I correctly understood, you want a player to wait for another player.
Looks like you already have a code for a game.

you can do it with many ways, I'll type a simple one.

at the top of the...
Forum: Scripting Help 28/05/2018, 12:23 AM
Replies: 2
Views: 159
Posted By Mugala
Re: Problem In AFK Kick

check the statement for this - if(PlayerInfo[i][pSleeping] == 0)
Forum: Scripting Help 28/05/2018, 12:20 AM
Replies: 8
Views: 315
Posted By Mugala
Re: Headshot Bugged

are u sure you're not using OnPlayerGiveDamage func in another code?
make sure and also check this.
public OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid, bodypart)
{
new...
Forum: Scripting Help 28/05/2018, 12:12 AM
Replies: 4
Views: 164
Posted By Mugala
Re: Vehicle Health and Fuel

you just have to remove one 0 from code, it's simple to divide it by 10.
format(predstring_p, sizeof(predstring_p), "Health: %.0f%", health_car/10);
Forum: Scripting Help 28/05/2018, 12:07 AM
Replies: 8
Views: 226
Posted By Mugala
Re: doubt

that's not possible. PlayerPlaySound is called from player's audio bank.
Forum: Scripting Help 28/05/2018, 12:03 AM
Replies: 8
Views: 219
Posted By Mugala
Re: Play on a same IP adres

• if you have a dynamic IP address, your IP could be changed after restart.
• check windows firewall.
• go to your modem and check if the port is forwarded.
Forum: Scripting Help 27/05/2018, 11:55 PM
Replies: 4
Views: 148
Posted By Mugala
Re: help me correct this cmd fix

you had some brackets error and also incorrectly code (if(!IsPlayerInRangeOfPoint...)
CMD:ak47(playerid, params[])
{
if(!IsPlayerInRangeOfPoint(playerid, 3.0, 308.2658, -140.7199, 999.6016))...
Forum: Scripting Help 27/04/2018, 10:48 PM
Replies: 1
Views: 128
Posted By Mugala
Re: TextDraw model messed up.

model is too small for that size. it's size is increased too much. try to decrease it.
Forum: Scripting Help 27/04/2018, 03:46 PM
Replies: 1
Views: 456
Posted By Mugala
Re: Textdraw symbols

in textdraw no, you can't use '@'
http://wiki.sa-mp.com/wiki/TextDrawFont check this, there is image given about this.
Forum: Scripting Help 27/04/2018, 12:27 AM
Replies: 1
Views: 127
Posted By Mugala
Re: Arrest Command

wait, I remember that post, someone asked for the exactly same code... it was u?

anyway.
Remove this code.
new Random = random(sizeof(RandomJailSpawns));
...
Forum: Scripting Help 27/04/2018, 12:22 AM
Replies: 5
Views: 316
Posted By Mugala
Re: Mysql fetching problem

quant = The float in the database
are u sure it's correct? I mean if it is cached from the database.

also, make output and post it for a better vision.
printf("UPDATE drugs SET Quantity = %.1f...
Forum: Scripting Help 27/04/2018, 12:11 AM
Replies: 11
Views: 313
Posted By Mugala
Re: Little problem in MySQL

if you're using higher version than R39-5, use new MySQL:zMySQL; if not, than just new zMySQL;
Forum: Scripting Help 20/04/2018, 11:23 PM
Replies: 2
Views: 131
Posted By Mugala
Re: start coordinates vehicle

you must save it's variable when you create this vehicle.
for example, write a script with auto-saving this variables.
example:
at the top of the codenew Float:VPos[MAX_VEHICLES][3];stock...
Forum: Scripting Help 17/04/2018, 09:59 PM
Replies: 4
Views: 151
Posted By Mugala
Re: stats

none of the admin systems will save your player's stats, cuz you have a separate stats, independent from these admin systems.
create your own saving function for your SQL database.
Forum: Scripting Help 16/04/2018, 02:26 PM
Replies: 3
Views: 214
Posted By Mugala
Re: Samp PAYDAY per user.

add player's variables (for seconds example)
pInfo[playerid][PayDayTime] (for example)

so when player logins, you have to add one second timer for update (like this)
at the top of the scriptnew...
Forum: Scripting Help 16/04/2018, 02:03 PM
Replies: 2
Views: 106
Posted By Mugala
Re: Mapping Problem [San Fierro Garage Removed]

best solution on this case is to change the mapping positions.
Forum: Scripting Help 16/04/2018, 02:01 PM
Replies: 5
Views: 197
Posted By Mugala
Re: Help here please

use format first, than send the messages (like UFF did)
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 05:09 AM.


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