Raised This Month: $120 Target: $400
 30% 

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: redivcram
Forum: Scripting Help 06-11-2021, 12:36
Replies: 9
Views: 574
Posted By redivcram
Re: Set player view to specified trigger_camera ent?

What?
I copied the function from another thread. No explanation for the sixth parameter.
Forum: Scripting Help 06-10-2021, 19:09
Replies: 9
Views: 574
Posted By redivcram
Re: Set player view to specified trigger_camera ent?

This solved my case, but does not solve the issue behind attaching view to a generic entity. This is limited to trigger_camera, but at least it does what I want it to.


ExecuteHam(Ham_Use,...
Forum: Scripting Help 06-10-2021, 14:50
Replies: 9
Views: 574
Posted By redivcram
Re: Set player view to specified trigger_camera ent?

Same thing... I've checked its coordinates and they are definitely matching the ones in the map editor. They're nowhere beyond bounds.
Also tried creating a fresh info_target ent where the...
Forum: Scripting Help 06-10-2021, 09:11
Replies: 9
Views: 574
Posted By redivcram
Re: Set player view to specified trigger_camera ent?

Server prints the log message. Cam's index happens to be 51 currently.
Forum: Scripting Help 06-09-2021, 19:45
Replies: 9
Views: 574
Posted By redivcram
Set player view to specified trigger_camera ent?

I've made a custom map and included a single trigger_camera entity with the targetname set to "KEYCAM" and don't want to set it off through the usual way by triggering it (not that it matters, since...
Forum: Scripting Help 05-29-2021, 05:53
Replies: 6
Views: 522
Posted By redivcram
Re: how to set money?

Where are you calling resetMoney() from? Judging by tyour question... Shouldn't you call it inside roundStart() hook?
Forum: Scripting Help 05-28-2021, 18:03
Replies: 5
Views: 458
Posted By redivcram
Re: AddToFullPack hide entity from specific player

Well, I've tried everything now and got CrazY.'s method working, but should be hooked with Post and not Pre. Thanks!
Forum: Scripting Help 05-28-2021, 15:45
Replies: 5
Views: 458
Posted By redivcram
Re: AddToFullPack hide entity from specific player

Tried hooking Pre before, but I'm still being showed the entity.
Forum: Scripting Help 05-28-2021, 12:20
Replies: 5
Views: 458
Posted By redivcram
AddToFullPack hide entity from specific player

I am very confused as to how this thing works in AMXX. In a module, you would return a value of either MRES_IGNORED (To render the model to said player) or MRES_SUPERCEDE (To not render). I don't...
Forum: Scripting Help 04-12-2021, 19:28
Replies: 9
Views: 609
Posted By redivcram
Re: Fix this script guys pls

And what's your problem? Do you have zombie_escape.inc?
Forum: Scripting Help 04-04-2021, 17:41
Replies: 16
Views: 1,018
Posted By redivcram
Forum: Scripting Help 03-30-2021, 19:31
Replies: 12
Views: 780
Posted By redivcram
Re: Freeze doesnt apply

He wants the prevent the player from moving. Setting the flag is the best workaround, setting the speed then hooking curweapon or think to prevent from resetting costs more performance and is...
Forum: Scripting Help 03-30-2021, 19:29
Replies: 16
Views: 1,018
Posted By redivcram
Re: Set armor and helmet using only engine

It makes no such difference.
Forum: Scripting Help 03-29-2021, 18:12
Replies: 27
Views: 2,309
Posted By redivcram
Re: [ Unachievable ] Mirroring/Changing sprite angle?

Are you talking about sprites that rotate in respect to the player's position or static ones? (IIRC env_sprite vs temp entity)
Forum: Scripting Help 03-25-2021, 14:53
Replies: 11
Views: 586
Posted By redivcram
Re: Max Usage Of A Item In Shop

Post which code you were compiling.
Forum: Scripting Help 03-25-2021, 13:28
Replies: 11
Views: 586
Posted By redivcram
Re: Max Usage Of A Item In Shop

enum _:Items
{
Name[64],
Limit[33]
}

Why is Limit an array? It only takes one number. Name is an array of characters or a string with a maximum of 64 characters available in this...
Forum: Scripting Help 03-25-2021, 11:55
Replies: 11
Views: 586
Posted By redivcram
Re: Max Usage Of A Item In Shop

Normally you would do something like this instead.


enum _:eShopItems {

ITEM_NAME[32],
ITEM_COST,
ITEM_MAX_USES,
etc...
};
Forum: Scripting Help 03-24-2021, 17:18
Replies: 12
Views: 565
Posted By redivcram
Re: Double number argv

If you're afraid of idea stealers, create a standalone plugin that works using only the functionality you're having issues with.
Forum: Suggestions / Requests 03-24-2021, 16:01
Replies: 1
Views: 233
Posted By redivcram
Re: [REQ] A extra executes plugin

Executing what? Blocking what other ways?
Forum: Scripting Help 03-24-2021, 15:21
Replies: 12
Views: 565
Posted By redivcram
Re: Double number argv

Just leaving it here. Also he said that it looks like zp_ammo, meaning that it could be anything.
Forum: Scripting Help 03-24-2021, 14:23
Replies: 12
Views: 565
Posted By redivcram
Re: Double number argv

If you are struggling with reading args from chat commands, you should bear in mind that your command counts as the first arg. Registering "say /cmd", nonetheless, will pass "/cmd" as the first...
Forum: Scripting Help 03-24-2021, 13:28
Replies: 2
Views: 346
Posted By redivcram
Re: I have problem with the plugin

https://dontasktoask.com/
Forum: Scripting Help 03-16-2021, 15:23
Replies: 12
Views: 738
Posted By redivcram
Re: troubles with TextMsg

How are bomb_defused() and bomb_planted() called in your code?
Forum: Scripting Help 03-09-2021, 11:28
Replies: 7
Views: 395
Posted By redivcram
Re: Clear or delete a data file

Don't forget to use charsmax(Line) instead of hard-coding. :)
Forum: Scripting Help 02-27-2021, 18:57
Replies: 5
Views: 351
Posted By redivcram
Re: Weapons of others

You're obviously dealing with something more than what you're not familiar with. No one can help you here, you're missing enough code and possibly include files, which is another question.
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 20:53.


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