Welcome to The Forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads

Would like to join the Dev Team!


dorito^
 Share

Recommended Posts

Hey HeLLsGamers geeks and tech junkies alike. As it is fairly obvious from the title, I would like to join the Dev Team and help with Servers, Coding and a little bit of Graphics Design. Here is a list if things I have achieved and wanting to improve on.

 

Hosted Multiple Servers for CoD4 and MW2.

^ Required me to do the coding for gametypes, rules and admin on my own. (Admin: Commands, Stats Lists, Some Player and Gun Skins)

^ Created my own and edited current versions of game-mods. (Such as zombies)

 

Photoshop

^ Did photoshop (graphics design) For a total of two year at school.

^ Working from home with CS5 to create forum sigs, website layouts and logos.

 

Graphics (Drawing/Blueprints/Perspective Drawing)

^ Did Graphics and Communications for a total of 1 1/2 years.

 

Art (Drawing/ Clay Art)

^ Did proper art style drawing and Clay Art for 2 years.

 

Media(Photographing/Editing Photographs in Photoshop) Probably Not Relevant to HG

^ Did Media classes for 6 months learning how to take photos like the pro's.

^ Learnt How to edit images in PS to get the best possible image.

 

Things to improve on

^ PhotoShop

^ Coding/Scripting

^ Advanced Development Skills

 

 

Thankyou for taking your time reading this post. I hope you take me and my repetuare (however you spell it) into consideration.

 

 

 

<3 Scout//R3v

Link to comment
Share on other sites

To join the Dev Team you need to get involved with the HellsGamers server's and community and show your skill, even if you're the best coder on earth without proving that, you'll get nowhere.

 

edit:

You should also check out https://hellsgamers.com/threads/16902-WHAT-HG-IS-CURRENTLY-LOOKING-FOR!! to see if theres any spots available for what you're offering. If a Technical Council finds something from your post that you can help with they'll probably message you or talk to you on Teamspeak.

Edited by Vao
Link to comment
Share on other sites

i'll take a stab at it lol

 

#include <sourcemod>
#include <sdktools>
#include <sdkhooks>

#define CSS_SPEC 1
#define CSS_TERRORISTS 2
#define CSS_COUNTERTS 3

public OnPluginStart()
  {
     HookEvent("player_crouch", Event_PlayerCrouch) 
  }
public OnClientPutInServer(client)
{
   slapper[client] = INVALID_HANDLE; 
}
public Action:PlayerSpawn()
{
      if slapper[client] != INVALID_HANDLE) 
   {
       KillTimer(slapper[client]); 

   }

   slapper[client] = CreateTimer(1.0, slapper, client, TIMER_REPEAT | TIMER_FLAG_NO_MAPCHANGE); 
}

public Action:Slapper(Handle:timer, any:client)
{
if (Event_PlayerCrouch = 1 && CSS_TERRORISTS = 1)
{
PlayerSlap(client, 25)
}

if (!Event_PlayerCrouch = 1 && CSS_TERRORISTS = 1)
{
return Plugin_Stop; 
slapper[client] = INVALID_HANDLE;
}
return Plugin_Continue;
}

 

I'm still very new at sourcepawn so I don't even know if this'll work. This is somewhat my guess as to what should happen xD

Link to comment
Share on other sites

#include <sourcemod>
#include <sdktools>
#include <sdkhooks>

#define CSS_SPEC 1
#define CSS_TERRORISTS 2
#define CSS_COUNTERTS 3

public OnPluginStart(){
     HookEvent("player_crouch", Event_PlayerCrouch) 
  }
public OnClientPutInServer(client){
   slapper[client] = INVALID_HANDLE; 
}
public Action:PlayerSpawn(){

    if(slapper[client] != INVALID_HANDLE) {
       KillTimer(slapper[client]); 
    }
   slapper[client] = CreateTimer(1.0, slapper, client, TIMER_REPEAT | TIMER_FLAG_NO_MAPCHANGE); 
}
public Action:Slapper(Handle:timer, any:client){

if (Event_PlayerCrouch && /*player get here*/ ){
PlayerSlap(client, 25)
}

if (!Event_PlayerCrouch  && /*player get here*/ ){
return Plugin_Stop; 
slapper[client] = INVALID_HANDLE;
}
return Plugin_Continue;
}

 

Fixed. Well wasn't really a fix, just removed some not needed stuffffff, however there is an issue I just forgot the command atm.

 

Event_PlayerCrouch & CSS_TERRORISTS can themselves be considered Boolean values as a computer can understand 0 is false (Off) and 1 is true (On)

 

So Event_PlayerCrouch = 1, as you know, means if a player is crouching perform and action and will return true for that parameter.

 

However Event_PlayerCrouch by itself will also return true so long as the returned value is greater then 0

 

Now the actual error is it doesn't appear you even got what team the client was on as "CSS_TERRORISTS" is a defined value that you set as 2 and never really changed so it will never return true. I only briefly know the sourcepawn api but I am pretty sure its like player.something(client) returns the team value.

 

Rest of the code looks pretty good though :D

 

Edit: Also in your if statements it has to be == not just a single = sign. As = means that you are assigning a variable to a value, while == means you are comparing a variable value to another variable value.

 

Edit 2: You were also missing a "(" in the if statement for the function Action:PlayerSpawn

Edited by Papa John
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share