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

Showing results 1 to 22 of 22
Search took 0.01 seconds.
Search: Posts Made By: SztangaBiceps
Forum: Scripting 11-22-2018, 12:38
Replies: 4
Views: 1,081
Posted By SztangaBiceps
Re: SQL_LockDatabase - required?! When?

Thank you! Solved



Database DB_MySQL = null;
What is wrong whit it?
Forum: Scripting 11-21-2018, 16:40
Replies: 4
Views: 1,081
Posted By SztangaBiceps
SQL_LockDatabase - required?! When?

Hello guys,

I want to ask you, when should i use function
SQL_LockDatabase(HANDLE);

I use following functions to database:
SQL_Connect
SQL_Query
SQL_FastQuery
..and other to fetch results.
Forum: Extensions 08-14-2018, 23:19
Replies: 116
Views: 117,077
Posted By SztangaBiceps
Re: REST in Pawn - Communicate with JSON REST APIs

Doesn't work
I cannot take value from page
Forum: Scripting 07-16-2018, 19:16
Replies: 2
Views: 567
Posted By SztangaBiceps
Re: multidimensional char error

Ohh.. OMG! I'm so stupid! :D
It works, Thank You very much!
Forum: Scripting 07-16-2018, 13:48
Replies: 2
Views: 567
Posted By SztangaBiceps
multidimensional char error

char g_AllowedWeapon[2][32];

void SettingWeapon(const char[] sWeapon, int team)
{
Format(g_AllowedWeapon[team-2], sizeof g_AllowedWeapon, "%s", sWeapon);
}

SettingWeapon("weapon_nova", 2);
Forum: Scripting 07-11-2018, 19:22
Replies: 17
Views: 3,015
Posted By SztangaBiceps
Re: [ CS:GO ] How to block vehicle movement after dead

So if it's a button, player can join to the car by pressing +USE (default button: E) and leave the car pressing also +use (default button: E).
So how make that before player death, player press...
Forum: Scripting 07-10-2018, 15:18
Replies: 17
Views: 3,015
Posted By SztangaBiceps
Re: [ CS:GO ] How to block vehicle movement after dead

It found on the player (client) with value -1.
If i use:

GetEntPropEnt(client, Prop_Send, "m_hVehicle"));
GetEntPropEnt(client, Prop_Data, "m_hVehicle"));

Value of these props is also "-1"
Forum: Scripting 07-10-2018, 10:36
Replies: 17
Views: 3,015
Posted By SztangaBiceps
Re: [ CS:GO ] How to block vehicle movement after dead

I tried and it doesn't work :(
I made debug:

for(int i = 0;i <= GetMaxEntities(); i++)
{
if(IsValidEdict(i))
{
char Class[120];
GetEdictClassname(i, Class, sizeof Class);...
Forum: Scripting 07-10-2018, 07:22
Replies: 17
Views: 3,015
Posted By SztangaBiceps
Re: [ CS:GO ] How to block vehicle movement after dead

public Action CMD_Test(int client, int args)
{
for(int i = 0;i <= GetEntityCount(); i++)
{
if(IsValidEdict(i) && IsValidEntity(i))
{
char Class[120], Class2[120];...
Forum: Scripting 07-09-2018, 16:54
Replies: 17
Views: 3,015
Posted By SztangaBiceps
Re: [ CS:GO ] How to block vehicle movement after dead

Haha, so simple, but it works!
Thank you!

But if is it possible, can i remove client as owner vehicle?
Some cars working so that one player can be owner, and another player cannot join again to...
Forum: Scripting 07-09-2018, 13:23
Replies: 17
Views: 3,015
Posted By SztangaBiceps
[ CS:GO ] How to block vehicle movement after dead

On some maps are vehicles, which we can move.
We can move them using +forward (w), +moveright (d), +moveleft (a), +back (s).

After dead cars still remember who was on the car and we can move...
Forum: Scripting 01-10-2016, 04:26
Replies: 3
Views: 561
Posted By SztangaBiceps
Re: MySQL credits

Okay..
Do you know how should look code?
I don't understand mysql
Forum: Scripting 01-09-2016, 19:09
Replies: 3
Views: 561
Posted By SztangaBiceps
MySQL credits

Hello,

I made code for set credits (called "fajki") to disconnect player.
It works on ID (SteamID 3)..

My code:
public Action:GiveF_OFFLINE(client, args)
{
if(args < 2)
{
Forum: Scripting 12-31-2015, 07:02
Replies: 11
Views: 1,548
Posted By SztangaBiceps
Re: Detecting whether a client moves.

I made it for free.
(small gift from me :D)

I sent you correct code on your communicator steam.
Forum: Scripting 12-23-2015, 18:18
Replies: 2
Views: 1,010
Posted By SztangaBiceps
Re: [CS GO] Bomb defusing look.

public StartDefuse(client)
{
SetEntPropFloat(client, Prop_Send, "m_flProgressBarStartTime", GetGameTime());
SetEntProp(client, Prop_Send, "m_iProgressBarDuration", 5);
...
Forum: Plugins 12-23-2015, 17:10
Replies: 23
Views: 20,777
Posted By SztangaBiceps
Re: [ANY] Button Watcher (see who pressed a button) v1.1

Find:
PrintToChatAll(" \x02 \x0C%N \x04pressed button\x0C %i %s", activator, caller, entity);

[B]Replace to:
for(new admins = 1; admins <= MaxClients; admins++)
{
...
Forum: Scripting 12-23-2015, 16:37
Replies: 5
Views: 1,097
Posted By SztangaBiceps
Re: Devide players CS:GO

I'm not sure, because i don't understand this plugin..
Can you give me clear code without strange definitions?

If you still doesn't understand my request:
I need plugin to divide alive players...
Forum: Scripting 12-19-2015, 12:41
Replies: 5
Views: 1,097
Posted By SztangaBiceps
Devide players CS:GO

Hello,

I want to make plugin to divide prisoners to two groups. EX: red and blue.
It should check that current number of alive players is divided by 2.

I don't know how to do this.
I tried...
Forum: Scripting 12-05-2015, 04:23
Replies: 7
Views: 4,147
Posted By SztangaBiceps
Re: Not enough space on the stack

Okay,

Thanks for answer.
Topic solved
Forum: Scripting 12-04-2015, 10:57
Replies: 7
Views: 4,147
Posted By SztangaBiceps
Re: Not enough space on the stack

Hello,

I don't know how can I check it, but i give you some propably usefull information..

My server is running on 1shot1kill machines (http://www.1shot1kill.pl/)
There I can't find anything...
Forum: Scripting 12-03-2015, 13:30
Replies: 7
Views: 4,147
Posted By SztangaBiceps
[SOLVED] Not enough space on the stack

Hello,

I have a lot of errors caused plugin jail_shop.
Code seems to be good, but logs spamming:

[SM] Plugin encountered error 8: Not enough space on the stack
[SM] Displaying call stack...
Forum: Scripting 11-29-2015, 05:30
Replies: 0
Views: 511
Posted By SztangaBiceps
Is this code good? (choose team)

Hello guys,

I made code for my server, choose team for the players by admins .

My code looks:
public Action:ChangeTEAM(client, args)
{
if(args < 2)
{
ReplyToCommand(client,...
Showing results 1 to 22 of 22

 
Forum Jump

All times are GMT -4. The time now is 03:28.


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