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

Showing results 1 to 25 of 33
Search took 0.00 seconds.
Search: Posts Made By: G[o]Q
Forum: Scripting 11-02-2015, 18:58
Replies: 4
Views: 1,159
Posted By G[o]Q
Re: Sourcemod Time Scripting

So ok but i change default value of convar for example to "[o]" i compiled plugin but when I change map and check conVar value is still "lololo" why?
Forum: Scripting 11-02-2015, 16:45
Replies: 4
Views: 1,159
Posted By G[o]Q
Sourcemod Time Scripting

Hi, I'm trying to make plugin which count a player time and give him points for it but my code doesn't work i try to getTime() in client post admin check and in disconect here is my code what I do...
Forum: Scripting 10-28-2015, 04:56
Replies: 9
Views: 4,035
Posted By G[o]Q
Re: Check if user has a flag

i don't want to use it on server I only want to know how to do it only for fun
Forum: Scripting 10-27-2015, 05:46
Replies: 9
Views: 4,035
Posted By G[o]Q
Re: Check if user has a flag

ok i understand but i want to get flag from conVar it's only for learning so what can i do this if i conVar sm_my_flag and i set it to "c" what can I convert it to ADMFLAG_KICK ? i don't want to add...
Forum: Scripting 10-26-2015, 20:27
Replies: 9
Views: 4,035
Posted By G[o]Q
Re: Check if user has a flag

so, ok but I don't use any command 4 example i want to check flag after spawn and if user has a flag from conVar then i give him +20 hp, so can i use checkCommandAccess and be working?
Forum: Scripting 10-26-2015, 07:00
Replies: 9
Views: 4,035
Posted By G[o]Q
Check if user has a flag

Hi

I want to check if user has a flag from conVar my code is like this:

public has_user_flag(client){
decl String:cvar_flags;
GetConVarString(sm_pgr_bonus_flag, cvar_flags,...
Forum: Scripting 09-25-2014, 17:49
Replies: 1
Views: 1,723
Posted By G[o]Q
[CS:GO]Player Maxspeed

How i Can setting up maxspeed for player?

my code:

speed[client]=GetRandomInt(400,600);
SetEntPropFloat(client, Prop_Data, "m_flMaxspeed", speed[client]);
...
Forum: Scripting Help 09-12-2014, 12:54
Replies: 3
Views: 813
Posted By G[o]Q
two headshots in row

Hi
How to catch moment when I shoot 2 headshots with one shot? for example from AWP?
I think the best idea is using trace_line but i need more examples and code
Forum: Scripting 09-01-2014, 16:09
Replies: 1
Views: 742
Posted By G[o]Q
[CS:GO] Respawning player

Hi

My Code:


public Event_PlayerDeath(Handle:event, const String:name[], bool:dontBroadcast){
new victimId = GetEventInt(event, "userid")
new vid = GetClientOfUserId(victimId) ...
Forum: Scripting Help 09-04-2013, 20:25
Replies: 0
Views: 624
Posted By G[o]Q
Moving entity to Origin

public move_EntToOrigin(ent,Float: origin[3]){
new Float:eOrigin[3];
new Float:eVelocity[3];
new Float:out[3];

pev(ent,pev_origin,eOrigin);

for(new i=0;i<3;i++)
...
Forum: Scripting Help 09-03-2013, 10:29
Replies: 3
Views: 1,013
Posted By G[o]Q
Re: Blocking weapon Drop

srsly? i think I can't hook drop.

Lolz thanx i'm stupid xD
Forum: Scripting Help 09-03-2013, 10:13
Replies: 6
Views: 1,225
Posted By G[o]Q
Re: Find bombsite class!

i Use something like that


public find_all_bombsites(){
new bs = -1
while ((bs = find_ent_by_class(bs, "func_bomb_target"))){
bomb_sites_ids[bomb_sites_count]=bs;
...
Forum: Scripting Help 09-03-2013, 10:10
Replies: 3
Views: 1,013
Posted By G[o]Q
Blocking weapon Drop

Hi

How Can I block dropping of weapon? for expample glock?
Forum: Scripting Help 09-03-2013, 09:11
Replies: 13
Views: 3,733
Posted By G[o]Q
Re: How to catch animation

Thank You So much it's working :D
Forum: Scripting Help 09-03-2013, 07:44
Replies: 13
Views: 3,733
Posted By G[o]Q
Re: How to catch animation

ok I updated and everything is good but model still is in left hand by default xD
Forum: Scripting Help 09-02-2013, 18:49
Replies: 13
Views: 3,733
Posted By G[o]Q
Re: How to catch animation

Ham_CS_Weapon_SendWeaponAnim crashed my server server

so anybody knows why if I change model glock for model knife it's in left hand by default?
Forum: Scripting Help 09-02-2013, 17:30
Replies: 13
Views: 3,733
Posted By G[o]Q
Re: How to catch animation

so i solved my problem

if(get_cd(cd,CD_WeaponAnim) <3 ){
set_cd(cd, CD_WeaponAnim, 0)
}in updateClientData

but i have new problem i try set knife model for glock and everything is...
Forum: Scripting Help 09-02-2013, 07:18
Replies: 13
Views: 3,733
Posted By G[o]Q
Re: How to catch animation

hmm i tested ham_ and it didn't work

i have a model with one "idle" animation (first in sequence) and I try change glock for them but glock has three "idle" animations and when i'm walking third...
Forum: Scripting Help 09-01-2013, 18:46
Replies: 13
Views: 3,733
Posted By G[o]Q
How to catch animation

Hi

I need solution about catching animation

example:

i would like to catch reload animation in glock and block or change it for shot animation but question is how do it?
Forum: Trash 06-20-2012, 10:40
Replies: 8
Views: 2,577
Posted By G[o]Q
Re: Precaching hud.txt (provided method - example)

because it was one of method uses in Polish Scripters bansystem after closing AMXBans Project

Additionality we used this to make our servers originally

C disk is default system disk and you...
Forum: Code Snippets/Tutorials 04-08-2012, 08:59
Replies: 107
Views: 105,930
Posted By G[o]Q
Re: [TUT] Custom Weapon Hud Sprites + Slot Redirection

I have one question is possible to have knife in 3 slot and one more weapon based on knife in 3 slot too ?

because I would like to make Crossbow but I want use knife or crossbow :D
Forum: Code Snippets/Tutorials 03-30-2012, 16:50
Replies: 35
Views: 16,062
Posted By G[o]Q
Re: Array Copy Stock

if you don't belive me then try

you can try it in Pawn or other languages: C++,C# etc.
Forum: Code Snippets/Tutorials 03-14-2012, 15:31
Replies: 35
Views: 16,062
Posted By G[o]Q
Re: Array Copy Stock

to copy arrays you can use something like this

new array1[5]={1,2,3,4,5}
new array2[5];
new i=0;

while(array1[i]=array2[i]){i++;}

you can change value of 'i' and copy only from first...
Forum: Scripting Help 09-01-2010, 10:05
Replies: 1
Views: 826
Posted By G[o]Q
Orpheu Software

Hi
I have one question

Can I with orpheu check type of player graphic :?: because if player use Software mode he see invinsible ent/player

I search code and signature
Forum: Scripting Help 08-31-2010, 13:15
Replies: 10
Views: 2,793
Posted By G[o]Q
Re: Orpheu: problem with slot change

i try but no efect :/
Showing results 1 to 25 of 33

 
Forum Jump

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


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