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

Showing results 1 to 9 of 9
Search took 0.00 seconds.
Search: Posts Made By: Koremai
Forum: Scripting 09-13-2017, 19:08
Replies: 2
Views: 1,078
Posted By Koremai
Menu that reads and parses strings from file

I have code that prints a menu when a player spawns and lists a bunch of weapons.
Currently, the weapons are hard coded into the plugin, but I would like them to be read from a file instead.
...
Forum: Scripting 11-15-2016, 00:27
Replies: 4
Views: 1,285
Posted By Koremai
Re: Ignite entity when it touches another

Actually, never mind the 'cube', sorry. Let's say it's a weapon on the ground, weapon_crowbar. When npc_zombie touches it, it sets him on fire.
Forum: Scripting 11-15-2016, 00:10
Replies: 9
Views: 2,168
Posted By Koremai
Re: Weapon on OnDamage event

public Action:OnTakeDamage(client, &attacker, &inflictor, &Float:damage, &damagetype, &weapon, Float:damageForce[3], Float:damagePosition[3])
{
decl String:sWeapon[32];
...
Forum: Scripting 11-15-2016, 00:00
Replies: 4
Views: 1,285
Posted By Koremai
Ignite entity when it touches another

Lets say I have two entities, weapon_crowbar and npc_zombie. I want to IgniteEntity npc_zombie when it touches weapon_crowbar.
If it's possible please can you give me a small example? I'm very lost...
Forum: Plugin/Gameplay Ideas and Requests 10-04-2016, 22:21
Replies: 4
Views: 1,454
Posted By Koremai
Need a little delay added to my plugin

I was wondering how I could add a little timer / 2 second delay between the two if's?
This is to troubleshoot a bug with the checking of scoreboards.


#include <sourcemod>
#include <sdktools>
...
Forum: Plugin/Gameplay Ideas and Requests 09-26-2016, 23:52
Replies: 9
Views: 4,309
Posted By Koremai
Re: [NMRiH] Spawn players with weapons

That did the trick, thanks a lot man, it will come in real handy for my server!
Forum: Plugin/Gameplay Ideas and Requests 09-26-2016, 14:09
Replies: 9
Views: 4,309
Posted By Koremai
Re: [NMRiH] Spawn players with weapons

Hmm, doesn't seem to work , player spawns without weapons every time.

L 09/26/2016 - 15:05:21: [weaponspawn.smx] Can't give item 'fa_cz858' to the player
L 09/26/2016 - 15:05:21:...
Forum: Plugin/Gameplay Ideas and Requests 09-26-2016, 09:44
Replies: 9
Views: 4,309
Posted By Koremai
Re: [NMRiH] Spawn players with weapons

Yes. It doesn't work in NMRiH because of the custom inventory thing. Besides, I would like this to be done through a plugin and without having to edit the maps.

I found a plugin...
Forum: Plugin/Gameplay Ideas and Requests 09-26-2016, 05:31
Replies: 9
Views: 4,309
Posted By Koremai
Spawn players with weapons

I'm trying to come up with a simple script that will give people weapons whenever they respawn. GivePlayerItem works, the only problem is that NMRH uses a custom inventory system and auto pickup on...
Showing results 1 to 9 of 9

 
Forum Jump

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


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