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: coole210
Forum: Scripting Help 12/06/2016, 02:29 AM
Replies: 1
Views: 384
Posted By coole210
Re: Find number not working, MYSQL.

Which version of MySQL is this?
Forum: Server Support 30/07/2014, 09:07 PM
Replies: 1
Views: 404
Posted By coole210
Re: Assigning a random number

#define randomEx(%0,%1) floatround(random((%1) - (%0)) + (%0))

PlayerInfo[targetid][pCellNumber] = randomEx(10000, 99999);
Forum: Server Support 30/07/2014, 09:00 PM
Replies: 4
Views: 1,198
Posted By coole210
Re: Mysql connection failed

Can you show your logs?
Forum: Server Support 30/07/2014, 08:53 PM
Replies: 6
Views: 691
Posted By coole210
Re: Offline edit playerinfo

Well first of all I don't think it's wise to continuously kick the targetid in your for loop, cause then it'll kick them for every admin online in the server. If you save your ban information on...
Forum: Scripting Help 26/07/2014, 06:58 PM
Replies: 13
Views: 1,074
Posted By coole210
Re: OnPlayerWeaponShot bugs my Tazer

I understand what your problem is, I might need to see your code though. If the hit type is 0, which would call what's in your else statement but it doesn't give you a deagle theres a reason for...
Forum: Scripting Help 26/07/2014, 06:44 PM
Replies: 13
Views: 1,074
Posted By coole210
Re: OnPlayerWeaponShot bugs my Tazer

Try to call a timer to delay giving a deagle to the player?

else
{
SetTimerEx("GivePlayerWeaponEx", 500, false, "iii", playerid, 24, 100);
}

forward GivePlayerWeaponEx(playerid, wep, ammo);...
Forum: Scripting Help 24/07/2014, 03:00 AM
Replies: 15
Views: 1,372
Posted By coole210
Re: How To Make Max Fuel?

If you wanna make a fuel capacity per vehicle model you can set that all up yourself, or you can use this one with a 30 max capacity just like your SS.

new Float:Fuel[MAX_VEHICLES];
new...
Forum: Scripting Help 24/07/2014, 02:50 AM
Replies: 15
Views: 1,372
Posted By coole210
Re: How To Make Max Fuel?

Try and just use a timer and a variable I guess?
Forum: Scripting Help 24/07/2014, 02:05 AM
Replies: 1
Views: 379
Posted By coole210
Re: saving weapon problem

I updated your code so it's a little.. smaller lol.

new WeaponInfo[MAX_PLAYERS][13][2];

public OnPlayerConnect(playerid)
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name,...
Forum: Scripting Help 24/07/2014, 01:46 AM
Replies: 2
Views: 428
Posted By coole210
Re: Dialog Help

In the command you can do something like..

SetPVarInt(targetid, "Duelerid", playerid);

Then you use it with GetPVarInt(playerid, "Duelerid") in OnDialogResponse.

Will probably complicate...
Forum: Everything and Nothing 13/01/2014, 09:45 PM
Replies: 15
Views: 1,968
Posted By coole210
Re: What happened to SA-MP live?

Fair enough, I know what I know though, especially if I've seen it for my own eyes. This was like what, a year or two ago? If I knew I'd be responding to this I would've recorded it, or simply...
Forum: Everything and Nothing 13/01/2014, 09:18 PM
Replies: 15
Views: 1,968
Posted By coole210
Re: What happened to SA-MP live?

There is no page about it, someone told and showed me my own password for it over a skype screen share call, if I remember who showed me it I'll let you know lol.
Forum: Everything and Nothing 13/01/2014, 08:46 PM
Replies: 15
Views: 1,968
Posted By coole210
Re: What happened to SA-MP live?

It's SQL database was hacked.
Forum: Scripting Help 30/08/2013, 06:13 AM
Replies: 1
Views: 411
Posted By coole210
Re: object ..?

Server-sided.
Forum: Scripting Help 28/08/2013, 04:13 AM
Replies: 3
Views: 592
Posted By coole210
Re: Flip car

So, it flips the vehicle into the ground, or does it flip a vehicle back onto it's tires in the ground?

I'd increase the Z position of the vehicle after flipping.

new Float:vPos[3];...
Forum: Scripting Help 28/08/2013, 04:08 AM
Replies: 2
Views: 441
Posted By coole210
Re: /robbiz help please

Here I made this.. Whatever it is.

#include <a_samp>

#define MAX_LOC 3
enum _Locs
{
BizName[64], Float:MinX, Float:MinY, Float:MaxX, Float:MaxY
}
new Locs[MAX_LOC][_Locs] =
Forum: Scripting Help 24/08/2013, 11:17 PM
Replies: 1
Views: 380
Posted By coole210
Re: Please Help Me

From what I see..



For all of them, should be:
Forum: Scripting Help 24/08/2013, 11:11 PM
Replies: 4
Views: 465
Posted By coole210
Re: /afk command, 4 errors

Well, first of all.. You might want to make the 3D text label 'AFK' a global variable, with a MAX_PLAYERS size, because re-creating the same variable within a command will not delete the right text...
Forum: Scripting Help 24/08/2013, 11:07 PM
Replies: 2
Views: 630
Posted By coole210
Re: [Request]Vehicle storage fix.

What do you mean when you click on your car, and who is them? Your don't want your cars to tp to who??
Forum: Scripting Help 24/08/2013, 11:05 PM
Replies: 5
Views: 744
Posted By coole210
Re: how to save skin? with UserINT?READ plz help

Simply copy one of those integer loads/saves and like SetPlayerScore and GivePlayerMoney, you'd do SetPlayerSkin. I would put that part in OnPlayerSpawn though.
Forum: Scripting Help 24/08/2013, 10:59 PM
Replies: 4
Views: 465
Posted By coole210
Re: /afk command, 4 errors

Change else if to if.
Forum: Filterscripts 18/02/2013, 06:05 AM
Replies: 4
[FilterScript] Drug System v1.0
Views: 2,487
Posted By coole210
Re: Drug System v1.0

Mediafire?.. Pastebin.
Forum: Scripting Help 21/12/2012, 11:53 PM
Replies: 8
Views: 802
Posted By coole210
Re: Sa-mp wont detect my wanted level?

Aren't you trying to get the wanted level of the killer?

Use killerid instead of playerid.

new wantedlevel = GetPlayerWantedLevel(killerid);
Forum: Scripting Help 27/10/2012, 02:24 PM
Replies: 4
Views: 862
Posted By coole210
Re: Mysql help

So you only have an account ban system, without the usage of IPs or serials? No problem.

You just need a command to unban a player name. When the admin enters a string, use mysql to make sure the...
Forum: Scripting Help 18/10/2012, 02:06 AM
Replies: 4
Views: 1,075
Posted By coole210
Re: Looking for Scriptor

Wrong section.

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

On-Topic: He wants a gender system, a stripclub health boost pickup, and a command for newly registered accounts.
Showing results 1 to 25 of 500

 

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


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