Raised This Month: $ Target: $400
 0% 

Showing results 1 to 25 of 40
Search took 0.01 seconds.
Search: Posts Made By: Tripaloski
Forum: Scripting Help 08-27-2017, 19:45
Replies: 13
Views: 3,691
Posted By Tripaloski
Re: Get the gun owner

Thank you for your help!
I'll try tomorrow.
Forum: Scripting Help 08-27-2017, 14:18
Replies: 13
Views: 3,691
Posted By Tripaloski
Re: Get the gun owner

What I wanted was this.
When a player picks up a fallen weapon, a message will appear saying, "You got the gun from the 'Name of person who bought it' ".
Forum: Scripting Help 08-27-2017, 13:59
Replies: 13
Views: 3,691
Posted By Tripaloski
Get the gun owner

Hello guys.
When a player picks up a fallen weapon, is it possible to know who was the player who bought it?
And who dropped it?
Forum: New Plugin Submissions 08-09-2017, 19:22
Replies: 35
Views: 14,160
Posted By Tripaloski
Re: Thor Weapon Pickup

When I try to pick up C4 this does not work and this error appears in the logs:

L 08/10/2017 - 00:18:43: Invalid weapon id 0
L 08/10/2017 - 00:18:43: [AMXX] Displaying debug trace (plugin...
Forum: Scripting Help 08-09-2017, 16:16
Replies: 6
Views: 717
Posted By Tripaloski
Forum: Scripting Help 08-09-2017, 11:51
Replies: 22
Views: 2,170
Posted By Tripaloski
Re: OnWeapon_Precache error

I have to edit the plugin_init() ?
Are there more parts of the plugin with szWeaponName I have to change?
Forum: Scripting Help 08-09-2017, 11:39
Replies: 22
Views: 2,170
Posted By Tripaloski
Re: OnWeapon_Precache error

I just asked if they did if they send the plugin because I do not understand much of it and I can take some time.
Forum: Scripting Help 08-09-2017, 11:36
Replies: 22
Views: 2,170
Posted By Tripaloski
Re: OnWeapon_Precache error

I understand little of this.
If you remove the get_weaponname(iWeaponId, Something[i], charsmax(Something)) have error compiling.

Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c)...
Forum: Scripting Help 08-09-2017, 10:59
Replies: 22
Views: 2,170
Posted By Tripaloski
Re: OnWeapon_Precache error

If I send the complete plugin you get it working correctly?
Forum: Scripting Help 08-09-2017, 10:58
Replies: 22
Views: 2,170
Posted By Tripaloski
Re: OnWeapon_Precache error

Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2013 ITB CompuPhase, AMX Mod X Team

Error: Undefined symbol "iWeaponId" on line 115
Warning: Expression has no effect on line 115...
Forum: Scripting Help 08-09-2017, 10:42
Replies: 8
Views: 920
Posted By Tripaloski
Forum: Scripting Help 08-09-2017, 10:41
Replies: 22
Views: 2,170
Posted By Tripaloski
Re: OnWeapon_Precache error

public plugin_precache()
{
for(new i; i < sizeof Something; i++)
{
get_weaponname(iWeaponId, Something, charsmax(Something))

g_hPrecacheHook[iWeaponId] =...
Forum: Scripting Help 08-09-2017, 10:16
Replies: 22
Views: 2,170
Posted By Tripaloski
Re: OnWeapon_Precache error

OK thank you
new const Something[][] =
{
"weapon_p228",
"weapon_scout",
"weapon_hegrenade",
"weapon_xm1014",
"weapon_c4",
...
Forum: Scripting Help 08-09-2017, 09:55
Replies: 22
Views: 2,170
Posted By Tripaloski
Re: OnWeapon_Precache error

Is it already correct?

new const Something[][] =
{
"weapon_p228",
"weapon_scou",
"weapon_hegrenade",
"weapon_xm1014",
...
Forum: Scripting Help 08-09-2017, 09:50
Replies: 6
Views: 717
Posted By Tripaloski
Re: Plugin error

For example, if g_iLevels [id] is 2 it requires 40 g_iRankPoints [id] to level up and 10 g_iRankPoints [id] (g_iLevels [id] - 1) to level down
Forum: Scripting Help 08-09-2017, 09:47
Replies: 6
Views: 717
Posted By Tripaloski
Re: Plugin error

new const LEVELS[ MAX_LEVELS ] = {
10,
40,
70,
100,
130,
160,
190,
220,
250,
Forum: Scripting Help 08-09-2017, 09:43
Replies: 22
Views: 2,170
Posted By Tripaloski
Re: OnWeapon_Precache error

This?

new const Something[][] =
{
CSW_P228,
CSW_SCOUT,
CSW_HEGRENADE,
CSW_XM1014,
CSW_C4,
CSW_MAC10,
Forum: Scripting Help 08-09-2017, 09:37
Replies: 6
Views: 717
Posted By Tripaloski
Re: Plugin error

This is to lower the level, so you have to see the number of points from the previous level that is.
Forum: Scripting Help 08-09-2017, 09:34
Replies: 8
Views: 920
Posted By Tripaloski
Re: See if it is pointed at a gun on the ground

I wanted that when a player pointing to the gun appears a hud saying "Press +use for pick up gun"
Forum: Scripting Help 08-09-2017, 09:16
Replies: 6
Views: 717
Posted By Tripaloski
Plugin error

I am having these errors in the server logs.

L 08/08/2017 - 22:22:02: [AMXX] Displaying debug trace (plugin "RanksWG.amxx")
L 08/08/2017 - 22:22:02: [AMXX] Run time error 4: index out of bounds ...
Forum: Scripting Help 08-09-2017, 09:04
Replies: 22
Views: 2,170
Posted By Tripaloski
Re: OnWeapon_Precache error

HamletEagle.
Sorry but I do not know how to get it to work properly.
Can you help?
Forum: Scripting Help 08-09-2017, 09:00
Replies: 8
Views: 920
Posted By Tripaloski
Re: See if it is pointed at a gun on the ground

HamletEagle, is working.
Is it possible to put a minimum distance between the player and the weapon (eg: 100) to appear the phrase?
And can you check it automatically?
Forum: Scripting Help 08-08-2017, 21:07
Replies: 8
Views: 920
Posted By Tripaloski
See if it is pointed at a gun on the ground

Is it possible to know if the player is targeting a weapon that is on the ground?
Forum: Scripting Help 08-08-2017, 21:05
Replies: 22
Views: 2,170
Posted By Tripaloski
OnWeapon_Precache error

Hi everyone.
I'm having the following error in the logs.
Error:
L 08/08/2017 - 02:21:36: [HAMSANDWICH] Failed to retrieve classtype for "", hook for "OnWeapon_Precache" not active.
L 08/08/2017 -...
Forum: Scripting Help 08-04-2017, 08:37
Replies: 3
Views: 659
Posted By Tripaloski
Re: client_death error

No logging errors.
Simply the part of the plugin client_death, client_damage,... stopped working
Exemple:
public client_damage(attacker,victim,damage,weapon,hitplace,ta)
{
if(hitplace ==...
Showing results 1 to 25 of 40

 
Forum Jump

All times are GMT -4. The time now is 15:07.


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