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

Showing results 1 to 25 of 40
Search took 0.00 seconds.
Search: Posts Made By: Doggg
Forum: Scripting 03-17-2020, 16:32
Replies: 1
Views: 754
Posted By Doggg
How to get amount of players

Hey there, I just got back from a long time without coding here.
So, Heres what i want to do, I want u to guide me and not just tell me the answer (tell me what commands i should be using and help...
Forum: Scripting 07-13-2019, 14:42
Replies: 15
Views: 2,410
Posted By Doggg
Re: teleport

DUDEEEEEEE ITS SOO COMPLICATED, can you explain this code a bit? i am a begginer lol
Forum: Scripting 07-13-2019, 14:01
Replies: 15
Views: 2,410
Posted By Doggg
Re: teleport

so like this?
#pragma semicolon 1

#define DEBUG

#define PLUGIN_AUTHOR ""
#define PLUGIN_VERSION "0.00"

#include <sourcemod>
#include <sdktools>
Forum: Scripting 07-13-2019, 13:41
Replies: 15
Views: 2,410
Posted By Doggg
Re: teleport

lol well i did wrote tp i thought it will work.
the new fixed code:
public Action tp(int client, int args)
{
if(args < 0)
{
ReplyToCommand(client, "[SM] tp <client>");
return...
Forum: Scripting 07-13-2019, 13:28
Replies: 15
Views: 2,410
Posted By Doggg
Re: teleport

Ok, I will fix that, But I try to run with this code :
and its says, Unknown command tp. you know why?
public Action tp(int client, int args)
{
if(args < 0)
{
ReplyToCommand(client, "[SM] tp...
Forum: Scripting 07-13-2019, 12:21
Replies: 15
Views: 2,410
Posted By Doggg
Re: teleport

How this is looking so far? the StrEqual isnt working yet.. how do i fix it?
public void OnPluginStart()
{
RegAdminCmd("sm_tp", tp, ADMFLAG_KICK);
}

public Action tp(int client, int args)
{...
Forum: Scripting 07-13-2019, 11:45
Replies: 15
Views: 2,410
Posted By Doggg
Re: teleport

Thanks! another last question, Any idea how i can check if the name that the main client entered (the one he wants to tp) is there? i should go on for and search one by one or there is some meathod?
Forum: Scripting 07-13-2019, 08:24
Replies: 15
Views: 2,410
Posted By Doggg
Re: teleport

thanks, what is this null_vector?
what is the diffrence between the two methods? they both will give me the cords the player is aiming at?
thansk!
Forum: Scripting 07-12-2019, 19:39
Replies: 15
Views: 2,410
Posted By Doggg
teleport

Hey guys, I am trying to make a plugin that when client write /tp <client name> it will teleport the sec client (the one that was wrote in the plugin) to the aim of the main client (the one who...
Forum: Scripting 07-11-2019, 10:10
Replies: 6
Views: 1,754
Posted By Doggg
Re: How to change string into int?

Thanks for the answer!
how can i fix the arg thing? i mean i thought it should catch it because if(args >2) means also 0 and 1 but i dont know, How should I fix it?
yeah i totally forgot about the...
Forum: Scripting 07-11-2019, 07:41
Replies: 6
Views: 1,754
Posted By Doggg
How to change string into int?

Hey I am to get better in sourcepawn (as you may see) but i feel like I am doing terrible job. The source api not really helping because i need to know how to actually use these functions so I have...
Forum: Scripting 07-11-2019, 06:49
Replies: 4
Views: 1,529
Posted By Doggg
Re: How to set up weapons ammo CSGO?

ALL this to give degale with one bullet? :"(
Forum: Scripting 07-11-2019, 06:35
Replies: 11
Views: 2,443
Posted By Doggg
Re: How to get all the player a weapon?

can you show me how you mean to write it? if and inside more if? or just switch the places? how?
Forum: Scripting 07-10-2019, 19:43
Replies: 4
Views: 1,529
Posted By Doggg
Forum: Scripting 07-10-2019, 19:41
Replies: 11
Views: 2,443
Posted By Doggg
Re: How to get all the player a weapon?

so like
if(IsClientInGame(i) && IsPlayerAlive(i))
{
code..
}
Forum: Scripting 07-10-2019, 15:47
Replies: 4
Views: 1,529
Posted By Doggg
How to set up weapons ammo CSGO?

trying to make a command that will give all the players one bullt with degale but i cannot understand how to set the ammo to 1? any help? the code so far : any ideas?
public Action deagle(int...
Forum: Scripting 07-10-2019, 13:57
Replies: 20
Views: 2,796
Posted By Doggg
Re: how can you scan a variable and then apply it?

now i need you to treat me like a dummy xD
what ConVar is? i have no idea. and why in this code you went on float?
Forum: Scripting 07-10-2019, 13:51
Replies: 11
Views: 2,443
Posted By Doggg
Re: How to get all the player a weapon?

Anybody knows how to set up weapons ammo in CSGO??
Forum: Scripting 07-10-2019, 13:43
Replies: 11
Views: 2,443
Posted By Doggg
Re: How to get all the player a weapon?

Oh ok, Thanks, I am trying to find a way to set ammo in CSGO. and about the dummy thing that ok, This will help me understand something that i just dont know yet xD.
Forum: Scripting 07-10-2019, 13:10
Replies: 11
Views: 2,443
Posted By Doggg
Re: How to get all the player a weapon?

yeah i understood the string thing, Thanks xD.
I thought about doing this method but it looked a bit not effective (i mean i thought there is some command that gives you the online players in the...
Forum: Scripting 07-10-2019, 12:21
Replies: 11
Views: 2,443
Posted By Doggg
How to get all the player a weapon?

Hey, I want to make a command thats giving every client in the server deagle with one bullet. i have 0 idea how to begin this code, i looked at the api but didnt really get it (what is the deagle...
Forum: Source Servers (SRCDS) 07-10-2019, 11:56
Replies: 6
Views: 1,507
Posted By Doggg
Re: Help with a server, Please HELP

The error was i used the internal ip and not the external one. Thanks guys!
Forum: Scripting 07-09-2019, 16:49
Replies: 20
Views: 2,796
Posted By Doggg
Re: how can you scan a variable and then apply it?

Thanks for the time you put into this, I knew most of this, It is very similar to C (at least i think it is) you have any idea why the guy here put 32 in the code? 32 looks bit too much for me. i...
Forum: Scripting 07-09-2019, 16:12
Replies: 20
Views: 2,796
Posted By Doggg
Re: how can you scan a variable and then apply it?

hahahahahaha, i thought there is some logic behind this.
Thanks, I will look at the guide.
wait, so char in the size of 4 woudlnt be enough for mp restart 15 for example? i mean i am not planning...
Forum: Scripting 07-09-2019, 15:30
Replies: 20
Views: 2,796
Posted By Doggg
Re: how can you scan a variable and then apply it?

thanks,
char array in size of 4 means that it will contain 1 number? (integer byte size is 4)? how should i measure the array size? what 32 means? ofc its not 32 chars because that will be stupid....
Showing results 1 to 25 of 40

 
Forum Jump

All times are GMT -4. The time now is 08:15.


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