SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 497
Search took 0.02 seconds.
Search: Posts Made By: KoczkaHUN
Forum: Scripting Help 08/02/2014, 10:03 AM
Replies: 9
Views: 1,036
Posted By KoczkaHUN
Re: Giving Money to all fireman

Please go through line-by-line because there are a few options which are up to you.
public f_OnPlayerUpdate(playerid)
{
if(pInfo[playerid][pMission] != 1)
{
// if the current...
Forum: Scripting Help 02/02/2014, 08:59 AM
Replies: 234
Views: 27,516
Posted By KoczkaHUN
Re: Respuesta: Legacy mode is bad for the SA-MP community

So unsynced bullets are "not broken"?
Forum: Filterscripts 26/01/2014, 08:27 AM
Replies: 28
Views: 17,754
Posted By KoczkaHUN
Re: Code 2 - flashing police lights

Object ID 19419 is a siren object with lights flashing.
Forum: Filterscripts 25/01/2014, 09:44 PM
Replies: 21
Views: 13,202
Posted By KoczkaHUN
Re: Anti-Flood / Anti-Repeat + High Ping Kicker

LOL, this is why I do not kick them.
Forum: Filterscripts 25/01/2014, 10:22 AM
Replies: 21
Views: 13,202
Posted By KoczkaHUN
Re: Anti-Flood / Anti-Repeat + High Ping Kicker

It is not a problem as long it is a command.
This snippet only checks OnPlayerText for player chat texts, not OnPlayerCommandText for player commands.
Forum: Filterscripts 25/01/2014, 09:19 AM
Replies: 21
Views: 13,202
Posted By KoczkaHUN
Re: Anti-Flood / Anti-Repeat + High Ping Kicker

When I made my tests, I've found out that sometimes player's ping is 65535 when they are connecting.
Forum: Scripting Help 14/10/2013, 01:22 PM
Replies: 5
Views: 580
Posted By KoczkaHUN
Re: Vehicle health

http://wiki.sa-mp.com/wiki/SetVehicleHealth
Forum: Plugin Development 22/10/2012, 03:43 PM
Replies: 312
Views: 138,215
Posted By KoczkaHUN
Forum: Filterscripts 16/09/2012, 09:12 AM
Replies: 4,021
Views: 2,245,501
Posted By KoczkaHUN
Re: Useful Functions

getdatetime() - merge of getdate (http://wiki.sa-mp.com/wiki/getdate)() and gettime (http://wiki.sa-mp.com/wiki/gettime)()
static stock getdatetime(&year=0, &month=0, &day=0, &hour=0, &minute=0,...
Forum: Filterscripts 16/09/2012, 08:31 AM
Replies: 1,170
Sticky: Useful Snippets
Views: 602,578
Posted By KoczkaHUN
Re: Useful Snippets

The above code will crash all players who are streamed in to the player you want to crash.
I suggest creating a bogus Player Object (http://wiki.sa-mp.com/wiki/CreatePlayerObject) or showing a...
Forum: Scripting Help 15/09/2012, 06:44 PM
Replies: 2
Views: 1,015
Posted By KoczkaHUN
Re: I'm need command /admins

You should have explained it better...
Maybe:
CMD:admins(playerid, params[])
{
SendClientMessage(playerid, 0xffff00ff, "Online admins:");
new isAdminOnline = false;
new...
Forum: Scripting Help 15/09/2012, 06:35 PM
Replies: 6
Views: 726
Posted By KoczkaHUN
Re: Is that possible?

http://wiki.sa-mp.com/wiki/SetPlayerWantedLevel
SetPlayerWantedLevel(playerid, 0);
Forum: Scripting Help 15/09/2012, 06:04 PM
Replies: 3
Views: 731
Posted By KoczkaHUN
Re: Server Crashing

Is tombstonePickups MAX_PLAYERS big? How do you create it?
new tombstonePickups[MAX_PLAYERS]; ?
Forum: Scripting Help 15/09/2012, 05:59 PM
Replies: 4
Views: 670
Posted By KoczkaHUN
Re: Answer help me is bugged.

CMD:helpme(playerid, params[])
{
new string[128], sendername[MAX_PLAYER_NAME];
if(isnull(params)) return SendClientMessage(playerid, COLOR_SYNTAX,"[SYNTAX]: /helpme [Description]");
...
Forum: Scripting Help 15/09/2012, 05:47 PM
Replies: 4
Views: 670
Posted By KoczkaHUN
Re: Answer help me is bugged.

Is PlayerInfo[playerid][Helperlevel] created?
When you type /answerhelpme absolutely nothing happens? What happens if you give a param to it?
Forum: Scripting Help 15/09/2012, 03:46 PM
Replies: 7
Views: 874
Posted By KoczkaHUN
Re: [Help] Barrier Rotation

Edit the 4. parameter (speed) for your needs.
http://wiki.sa-mp.com/wiki/MoveObject
To close with the same speed you open it, try:
CMD:close(playerid,params[])
{...
Forum: Scripting Help 15/09/2012, 12:18 PM
Replies: 7
Views: 874
Posted By KoczkaHUN
Re: [Help] Barrier Rotation

What's the result? It should work.
Forum: Scripting Help 15/09/2012, 12:58 AM
Replies: 4
Views: 1,466
Posted By KoczkaHUN
Re: /deposit and /withdraw not doing anything

From where do you know he does not use an anticheat?
Forum: Scripting Help 15/09/2012, 12:38 AM
Replies: 4
Views: 1,466
Posted By KoczkaHUN
Re: /deposit and /withdraw not doing anything

That code is a bit messed up, I tried to clean it up, check if it works:

CMD:deposit(playerid,params[])
{
new string[92];
new type;
if(sscanf(params, "d", type)) return...
Forum: Scripting Help 15/09/2012, 12:28 AM
Replies: 4
Views: 745
Posted By KoczkaHUN
Re: /fash command, I dont want a filterscript

But this is a siren object, actually.
Forum: Scripting Help 15/09/2012, 12:23 AM
Replies: 4
Views: 745
Posted By KoczkaHUN
Re: /fash command, I dont want a filterscript

Hmmmmmmmmmmmmmmmm... (http://forum.sa-mp.com/showthread.php?t=343224)
What do you mean by "changing the lights"?
Forum: Scripting Help 15/09/2012, 12:13 AM
Replies: 7
Views: 874
Posted By KoczkaHUN
Re: [Help] Barrier Rotation

Maybe try MoveObject to the original position?
Edit: failed at coding
Forum: Scripting Help 15/09/2012, 12:09 AM
Replies: 1
Views: 675
Posted By KoczkaHUN
Re: Help wiki /givemoney

CMD:givemoney(playerid,params[]) {
if(PlayerInfo[playerid][LoggedIn] != 1) return SendMessageToPlayer(playerid, COLOR_BRIGHTRED, "You are not logged in.");
....
}
Forum: Scripting Help 14/09/2012, 11:49 PM
Replies: 2
Views: 3,266
Posted By KoczkaHUN
Re: Speedometer not working. (Screenshots)

Try debugging it in public SpeedoUpdate(playerid) (assuming that Fuel TD is updated succesfully here):

// ...
format(string,sizeof(string),"~g~Speed: ~w~%d...
Forum: Scripting Help 14/09/2012, 11:32 PM
Replies: 6
Views: 1,067
Posted By KoczkaHUN
Re: Damage help!

#define EvaluateDamage(%0); \
if (floatcmp(%0, AP) == 1) { Remain = floatsub(%0, AP); SetPlayerArmour(playerid, 0.0); \
SetPlayerHealth(playerid, HP - Remain); } \
else { SetPlayerArmour(playerid,...
Showing results 1 to 25 of 497

 

All times are GMT. The time now is 12:20 PM.


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