Raised This Month: $ Target: $400
 0% 

Showing results 1 to 13 of 13
Search took 0.00 seconds.
Search: Posts Made By: Rorthic
Forum: Scripting Help 05-23-2005, 21:50
Replies: 5
Views: 1,880
Posted By Rorthic
so something like this? havent tried it yet, just...

so something like this? havent tried it yet, just wondering if this is what you meant

set_task(30.0, "replaceXP")

public replaceXP(id)
{
ns_set_exp(id,(ns_get_exp(id) - 1000))
}

so does...
Forum: Scripting Help 05-23-2005, 02:04
Replies: 5
Views: 1,880
Posted By Rorthic
setting a delay before next line in function is called

ok i need to set a delay before the next line is called, i tried using a loop with a high number, didnt seem to affect it. this is my code

ns_set_exp(id, (ns_get_exp(id) + 1000))
client_cmd(id,...
Forum: Scripting Help 05-20-2005, 20:47
Replies: 5
Views: 2,923
Posted By Rorthic
this answer comes from the plugin combat...

this answer comes from the plugin combat buildings by #endgame at modns
http://www.modns.org/forums/index.php?showtopic=1345

public cmdArmory(id) {
new team = get_team(id);
new name[] =...
Forum: Scripting Help 05-17-2005, 17:50
Replies: 5
Views: 2,923
Posted By Rorthic
still no luck, its there and solid but not...

still no luck, its there and solid but not usable. you would think there would be an easy, its built into the game.
Forum: Scripting Help 05-16-2005, 21:09
Replies: 5
Views: 2,923
Posted By Rorthic
DispatchSpawn(ent); made it solid but it still...

DispatchSpawn(ent); made it solid but it still isnt functioning. it just sits there, cant be built and cant be used. Im wondering if there is a command that allows the ent to be used?
Forum: Scripting Help 05-16-2005, 00:28
Replies: 5
Views: 2,923
Posted By Rorthic
Spawning working entities in NS -solved

i want to spawn a armory in ns that works, but i cant seem to get it right.

i have this

public cmdArmory(id) {
new ent
ent = create_entity("team_armory")
new Float:origin[3]
...
Forum: Scripting Help 05-12-2005, 18:54
Replies: 4
Views: 1,421
Posted By Rorthic
thanks, i used team =...

thanks, i used team = entity_get_int(id,EV_INT_team) and it works perfectly now.
Forum: Scripting Help 05-12-2005, 03:02
Replies: 4
Views: 1,421
Posted By Rorthic
thanks, i got it all working the #defines were...

thanks, i got it all working the #defines were part of the problem. Now ive noticed another small problem, when i check the team using the class it ignores the dead players. I dont want it to ignore...
Forum: Scripting Help 05-10-2005, 03:40
Replies: 4
Views: 1,421
Posted By Rorthic
NS co experience boost plugin problems

Im trying to write a plugin that will check the total deaths of each team in a combat map and if there is a big gap boost the losing teams experience. I cant get this to compile:

/*
co_xpbalance...
Forum: Scripting Help 05-03-2005, 19:41
Replies: 7
Views: 2,185
Posted By Rorthic
ok so i got the ammo to work now, it was a simple...

ok so i got the ammo to work now, it was a simple change, im guessing when i tried it originally i compiled the wrong file, anyways this works for the ammo,
ns_give_item(id,"item_genericammo")
...
Forum: Scripting Help 05-01-2005, 22:58
Replies: 7
Views: 2,185
Posted By Rorthic
if you type give item_genericammo into the...

if you type give item_genericammo into the console it gives you ammo. Also with logging on when you drop ammo it says item_genericammo.
Forum: Scripting Help 05-01-2005, 20:27
Replies: 7
Views: 2,185
Posted By Rorthic
new item = "item_genericammo" gives compile...

new item = "item_genericammo"
gives compile error error 033:array must be indexed and error 035:argument type mismatch

so i did
new item[33] = "item_genericammo"
new item[256] =...
Forum: Scripting Help 04-30-2005, 23:35
Replies: 7
Views: 2,185
Posted By Rorthic
NS health and ammo drop

im trying to create a plugin that will drop health and ammo and take away the appropriate amount of res from the marine team. Im new at this, first plugin. Heres what i have so far:

#include...
Showing results 1 to 13 of 13

 
Forum Jump

All times are GMT -4. The time now is 16:39.


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