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

Showing results 1 to 25 of 300
Search took 0.01 seconds.
Search: Posts Made By: ajr1234
Forum: Scripting 04-10-2013, 17:06
Replies: 11
Views: 2,708
Posted By ajr1234
Re: Drop raised weapon

Set the weapon ammo to zero and then remove it from the slot. Lastly, create a new weapon entity with zero ammo and teleport it to the player's origin. Relevant functions:

RemovePlayerItem...
Forum: Scripting 04-10-2013, 16:53
Replies: 3
Views: 985
Posted By ajr1234
Re: Hide

Use a SetTransmit hook.
Forum: Coding MM:S Plugins & SM Extensions 04-02-2013, 19:46
Replies: 4
Views: 2,228
Posted By ajr1234
Re: Overlay

Those work, but only in pawn. Trying to do the exact same thing from a c++ plugin does not seem to be working on a MM plugin/VSP. I can't figure out why for the life of me.
Forum: Coding MM:S Plugins & SM Extensions 04-01-2013, 17:26
Replies: 4
Views: 2,228
Posted By ajr1234
Re: Overlay

So no one knows :(
Forum: Coding MM:S Plugins & SM Extensions 03-21-2013, 23:34
Replies: 4
Views: 2,228
Posted By ajr1234
Re: Overlay

Bump!

I tried:


engine->ClientCommand("r_screenoverlay \"test/file.vmt\"");
engine->ClientCommand("r_screenoverlay \"materials/test/file.vmt\"");


Both come out as "Unknown command:...
Forum: Scripting 03-16-2013, 18:20
Replies: 18
Views: 7,804
Posted By ajr1234
Re: Making a trigger_multiple solid?

It'll be easier to just hook OnStartTouch and store the activator's position, then hook OnTouching as well and teleport the activator to the position stored in OnStartTouch. You don't need SDKHooks...
Forum: Coding MM:S Plugins & SM Extensions 03-16-2013, 15:13
Replies: 4
Views: 2,228
Posted By ajr1234
Overlay

What's a good way to put up an overlay with r_screenoverlay for l4d2?

engine->ClientCommand() doesn't work, neither does CheatCommand, nor helpers->ClientCommand(). Anyone have a c++ function I...
Forum: Scripting 03-15-2013, 11:10
Replies: 8
Views: 1,711
Posted By ajr1234
Re: tag mismatch problem :s

Try setting a return type for the stock or explicitly convert the value to an integer.
Forum: Scripting 03-11-2013, 17:58
Replies: 9
Views: 1,812
Posted By ajr1234
Re: return's .. need some explanations

A very simplistic way of thinking about it is:

- continue will start the loop from the beginning, carrying out the loop operation (e.g. i++)
- break will exit the loop
- return will exit the...
Forum: Scripting 03-11-2013, 17:50
Replies: 9
Views: 1,812
Posted By ajr1234
Re: return's .. need some explanations

for (new i = 0; i < 10; i++)
{
blah blah
blah

continue; // note this.

lololol
lolol
}
Forum: Scripting 03-11-2013, 16:22
Replies: 9
Views: 1,812
Posted By ajr1234
Re: return's .. need some explanations

Continue does not stop the loop.
Forum: Scripting 03-06-2013, 18:55
Replies: 2
Views: 875
Posted By ajr1234
Re: Need help with menu.

There is a tutorial here:
http://wiki.alliedmods.net/Menu_API_(SourceMod)

Also see:
http://docs.sourcemod.net/api/index.php?fastload=show&id=459&
Forum: Scripting 03-06-2013, 11:23
Replies: 9
Views: 2,036
Posted By ajr1234
Re: Loose Indentation Error...

Does it affect the plugin adversely though?
Forum: General 03-05-2013, 16:12
Replies: 2
Views: 3,014
Posted By ajr1234
Re: Skins for server MG CS:GO

Go here (http://www.csgmaps.com/). Under CS:GO, select "Mods" then "Skins".
Forum: Scripting 03-05-2013, 16:09
Replies: 9
Views: 2,036
Posted By ajr1234
Re: Loose Indentation Error...

Out of curiosity, can indentation warnings be detrimental if left unfixed?
Forum: General 03-05-2013, 11:17
Replies: 6
Views: 1,834
Posted By ajr1234
Re: How to code Sourcemod for l4d2?

If you had the game's source code, you could use this (https://developer.valvesoftware.com/wiki/Adding_a_Dynamic_Scope), but in this case, we do not have the source. One can attempt to modify view...
Forum: Scripting 03-05-2013, 10:06
Replies: 27
Views: 7,970
Posted By ajr1234
Re: Admin Call Plugin via php

No lol, that is not what I said. I am well aware that Pawn plugins can access other databases. I've made more than a dozen private plugins for money, so I believe I have a firm grasp on how the...
Forum: General 03-05-2013, 03:42
Replies: 6
Views: 1,834
Posted By ajr1234
Re: How to code Sourcemod for l4d2?

Valve doesn't provide access to client interfaces, but if you really wanted to, you can get around that somewhat easily. The subject matter then becomes hacking, and I doubt anyone here would aid you...
Forum: Scripting 03-05-2013, 02:25
Replies: 14
Views: 6,875
Posted By ajr1234
Re: [CS:GO]Getting the Correct Workshop Map Name

Thanks for the stock buddy :)
Forum: Scripting 03-05-2013, 02:19
Replies: 27
Views: 7,970
Posted By ajr1234
Re: Admin Call Plugin via php

Oh, I see. Haven't seen the series, but tempted to now.



To avoid replication issues with multiple physical servers. The debate was about whether to use a custom port and listener or to just...
Forum: Scripting 03-04-2013, 23:34
Replies: 27
Views: 7,970
Posted By ajr1234
Re: Admin Call Plugin via php

:mrgreen: For some reason I'm really enjoying this conversation lol.

A variety of applications use custom ports. Skype uses 443/80 (HTTP yes) as well as other custom ones, depending on the...
Forum: Scripting 03-04-2013, 13:31
Replies: 27
Views: 7,970
Posted By ajr1234
Re: Admin Call Plugin via php

Let me start off by saying that first of all I appreciate the input :) That is one thing I enjoy about communities haha-- the ability to share information and receive them.

Anyway, the whole point...
Forum: Scripting 03-04-2013, 09:42
Replies: 27
Views: 7,970
Posted By ajr1234
Re: Admin Call Plugin via php

What do you think a web server is doing? Seriously... I don't understand why people comment without even understanding how it works. You need to listen for connections before you can accept the...
Forum: Scripting 03-02-2013, 16:31
Replies: 27
Views: 7,970
Posted By ajr1234
Re: Admin Call Plugin via php

You can go about it however you want. I use sockets all the time in Symfony for interserver XML data transfer, and it works well. You can go about it with HTML requests, doesn't matter. Whatever...
Forum: Coding MM:S Plugins & SM Extensions 03-02-2013, 12:15
Replies: 4
Views: 2,239
Posted By ajr1234
Re: Compile issues

Try the public folder (not core). And where are you keeping your extension files?
Showing results 1 to 25 of 300

 
Forum Jump

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


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