Raised This Month: $12 Target: $400
 3% 

Showing results 1 to 25 of 500
Search took 0.05 seconds.
Search: Posts Made By: Fuck For Fun
Forum: Scripting Help 09-13-2023, 15:10
Replies: 6
Views: 1,021
Posted By Fuck For Fun
Re: Wrong values in the menu

default:
iReturn = valor_item;
}

return iReturn;
}
Forum: Scripting Help 09-13-2023, 15:07
Replies: 7
Views: 1,216
Posted By Fuck For Fun
Re: Best player

new Float:acc;
if (g_iHits[id] > 0) {
acc = (float(g_iKills[id]) / float(g_iHits[id])) * 100.0;
} else {
acc = 0.0; // Avoid division by zero error if there are no hits.
...
Forum: Scripting Help 06-02-2023, 09:17
Replies: 12
Views: 933
Posted By Fuck For Fun
Re: new error message

confused.. that if a player is CONNECTED (his location or mine) the operation will be performed but if there is another way I would love to know/hear

Should I check if a player is connected...
Forum: Scripting Help 06-02-2023, 05:41
Replies: 12
Views: 933
Posted By Fuck For Fun
Re: new error message

but i already testing it on PrintTeleport(id, target[], position, Float:origin[3])
connected(posit...) or should i do it outside of if and change connected to alive?
Forum: Scripting Help 06-02-2023, 05:38
Replies: 12
Views: 1,146
Posted By Fuck For Fun
Re: print wrong message value

i think wrong thread "bump"
well ic my last posted CMD rt 9 is printed and work
https://forums.alliedmods.net/showpost.php?p=2804669&postcount=10
Forum: Scripting Help 06-02-2023, 05:37
Replies: 4
Views: 497
Posted By Fuck For Fun
Re: cant teleport without writing VALUE

Sorry posted by phone, I try to write as quickly as I can well I edited the post EDIT above if it's still not clear of understandable I'll write again.

Link Code:...
Forum: Scripting Help 05-31-2023, 14:29
Replies: 12
Views: 933
Posted By Fuck For Fun
Forum: Scripting Help 05-31-2023, 14:28
Replies: 4
Views: 497
Posted By Fuck For Fun
Forum: Scripting Help 05-31-2023, 14:27
Replies: 12
Views: 1,146
Posted By Fuck For Fun
Forum: Scripting Help 05-23-2023, 12:49
Replies: 12
Views: 933
Posted By Fuck For Fun
Re: new error message

I haven't touched it for a long time, so I'm trying to catch up on the error because the code was built in 2019


So what is the path of the parameter for id, position how can this be arranged
Forum: Scripting Help 05-19-2023, 17:36
Replies: 12
Views: 933
Posted By Fuck For Fun
Re: new error message

Upload the code
so the code based on some function
!teleport name value[origin]
!teleport name toTarget
!teleport @all toTarget
!teleport self self - need block it or pass origin
need block...
Forum: Scripting Help 05-19-2023, 17:03
Replies: 12
Views: 1,146
Posted By Fuck For Fun
Re: print wrong message value

so wish you goodluck
enum _:ALIVE_MODE
{
ALL,
ALIVE_ONLY,
DEAD_ONLY,
};

enum _:CMD_STRUCT
{
Forum: Scripting Help 05-19-2023, 16:21
Replies: 12
Views: 1,146
Posted By Fuck For Fun
Re: print wrong message value

Yes my mistake, If the user doesn't have the required access level for a command, there is no need to continue iterating through the loop


/* Plugin generated by AMXX-Studio */

#include...
Forum: Scripting Help 05-19-2023, 15:46
Replies: 12
Views: 1,146
Posted By Fuck For Fun
Re: print wrong message value

line 89 was your CMD_TYPE i missed it, but is still not that and not work but i think i found the prob
// Command: Round Time.
CmdRoundTime(client, param[])
{
new num;
if (CheckMinMax(client,...
Forum: Scripting Help 05-19-2023, 15:19
Replies: 12
Views: 1,146
Posted By Fuck For Fun
Re: print wrong message value

i will try
Because this is just an introduction from the code, I have a lot more commands in List
I use param and without

EDIT:
Nothing has changed, still writes to me in chat roundtime 0.00
Forum: Scripting Help 05-19-2023, 12:44
Replies: 12
Views: 1,146
Posted By Fuck For Fun
print wrong message value

The purpose of the code is that I write
!rt 9
It should show in the ad that you changed to time 9 but it says 0.00 to me


Message console/chat:

Code:
/* Plugin generated by AMXX-Studio */
Forum: Scripting Help 05-19-2023, 12:21
Replies: 12
Views: 933
Posted By Fuck For Fun
Re: new error message

i think i have to change

if i change position to ID , the teleported to %n not will show

EDIT: with (id)

[Cmd] CheezPuff has teleported to Origin.(801.16, 724.05, 52.03)
[Cmd] CheezPuff...
Forum: Scripting Help 05-19-2023, 11:15
Replies: 12
Views: 933
Posted By Fuck For Fun
Re: new error message

this it the public of it
// Command: Teleport.
CmdTeleport(client, param[])
{
// check param[] is none.
if (!CheckUsage(client, TELEPORT, param))
return;

// Split parameter.
new...
Forum: Suggestions / Requests 05-19-2023, 06:14
Replies: 16
Views: 1,464
Posted By Fuck For Fun
Re: Run time error 4: index out of bounds

I see that the issue lies in the line new team = get_user_team(ballowner). It appears that the variable ballowner is not defined or set before this line, which leads to the "index out of bounds"...
Forum: Suggestions / Requests 05-19-2023, 03:59
Replies: 16
Views: 1,464
Posted By Fuck For Fun
Re: Run time error 4: index out of bounds

please remove the numbers lines to each
and add full public touchNet
Forum: Scripting Help 05-18-2023, 08:21
Replies: 12
Views: 1,742
Posted By Fuck For Fun
Re: NPC Entity (Chase & Kill Players)

get_closest_player(ent)
{
new iPlayers[32], iNum;
get_players(iPlayers, iNum, "a");

new iClosestPlayer = 0, Float:flClosestDist = 9999.0;
new iPlayer, Float:flDist;

for...
Forum: Suggestions / Requests 05-18-2023, 05:16
Replies: 5
Views: 639
Posted By Fuck For Fun
Re: Mute plugin error

what that numbers saying on the left code LOL....
1: [0] Mute.sma::clcmd_mute (line 73)
pute also clcmd_mute handler/public

and all public of


EDIT: Try it maybe

public clcmd_mute(id)
Forum: Scripting Help 05-17-2023, 04:13
Replies: 12
Views: 933
Posted By Fuck For Fun
new error message

L 05/17/2023 - 04:11:03: Client index 1137306778 is invalid
L 05/17/2023 - 04:11:03: [AMXX] Displaying debug trace (plugin "NewCommands.amxx", version "1.0")
L 05/17/2023 - 04:11:03: [AMXX] Run...
Forum: Scripting Help 05-17-2023, 04:05
Replies: 4
Views: 497
Posted By Fuck For Fun
cant teleport without writing VALUE

AMX Mod X version 1.9.0.5294
Exe build: 19:52:19 Aug 3 2020 (8684)

I will explain myself again: I have CMD ADMIN As you can see in the code I have
@all,target and more that the beginning of the...
Forum: Suggestions / Requests 05-14-2023, 10:40
Replies: 3
Views: 886
Posted By Fuck For Fun
Re: Lock base at 20 seconds round

public cmdLockBlock(id)
{
new Float:timeRemaining = get_gametime() - g_fTimeRoundEnd

if (timeRemaining > 20.0 && !access(id, LOCK_BLOCKS))
{
// Only allow locking by VIPs...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 18:35.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode