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

Showing results 1 to 25 of 398
Search took 0.01 seconds.
Search: Posts Made By: BaD CopY
Forum: Scripting Help 08-31-2018, 18:14
Replies: 3
Views: 687
Posted By BaD CopY
Re: How to get player's personal language ?

Because it's always showing DE but my language is set to EN
Forum: Scripting Help 08-31-2018, 12:15
Replies: 3
Views: 687
Posted By BaD CopY
How to get player's personal language ?

I tried like this but it's showing server's language:


public client_putinserver(id) {
new lang_id, lang[3];

get_user_info(id, "lang", lang, charsmax(lang));

lang_id =...
Forum: Scripting Help 08-29-2018, 20:44
Replies: 2
Views: 546
Posted By BaD CopY
Forum: Scripting Help 08-29-2018, 19:28
Replies: 2
Views: 546
Posted By BaD CopY
I get wrong string from array

new const SQL_TABLES[][] = {
{"SQL_TABLE1", "steamid TEXT, rank NUMERIC, xp NUMERIC, level NUMERIC"},
{"SQL_TABLE2", "steamid TEXT, kills NUMERIC, deaths NUMERIC, score NUMERIC"},...
Forum: Scripting Help 08-27-2018, 15:24
Replies: 4
Views: 1,656
Posted By BaD CopY
SQL Foreign key ?

How to make more tables and use it with foreign key ?

If I create players table:

| id | steamid | xp | lvl | skills |

and skills table:

| player_id | skill_1 | skill_2 | skill_3 |
Forum: Suggestions / Requests 08-23-2018, 14:20
Replies: 6
Views: 1,082
Posted By BaD CopY
Re: How to get all arguments from message

I want to check if player say some of words like "cheat" and then menu shows to that player to choose cheater and reason and then all admins get that message.
Forum: Suggestions / Requests 08-23-2018, 14:04
Replies: 6
Views: 1,082
Posted By BaD CopY
Re: How to get all arguments from message

can you show me example ?
Forum: Suggestions / Requests 08-23-2018, 12:38
Replies: 6
Views: 1,082
Posted By BaD CopY
How to get all arguments from message

How to get all arguments (words) from player's message and make for loop to check if WHOLE word equal with defined words ?
Forum: Scripting Help 08-22-2018, 15:46
Replies: 7
Views: 1,383
Posted By BaD CopY
Re: What is more optimized ?

Okay, what about sql saving ? What is best time to call sql save function (ex. onDeath, onSpawn, client_diconnect, plugin_end, ... ?)

EDIT:
What about Queries, SQL_PrepareQuery or SQL_ThreadQuery...
Forum: Scripting Help 08-19-2018, 10:32
Replies: 7
Views: 1,383
Posted By BaD CopY
What is more optimized ?

What is more optimized way, for making vars for player data, then this


new Golds[33],
Rank[33],
XP[33],
Kills[33],
Deaths[33];
Forum: Suggestions / Requests 08-15-2018, 09:59
Replies: 6
Views: 1,693
Posted By BaD CopY
Re: Help pubg mod

Post <cs_battleroyale_faketeams> and <cs_battleroyale_roundmanager> includes
Forum: Suggestions / Requests 08-15-2018, 09:57
Replies: 2
Views: 546
Posted By BaD CopY
Re: Change player's speed on holding shift button

if(is_user_alive(id) && user_vip[id])
set_user_maxspeed( id, 250.0 + 50);
Forum: Suggestions / Requests 08-15-2018, 09:26
Replies: 2
Views: 546
Posted By BaD CopY
Change player's speed on holding shift button

Hi guys,

VIP plugin boost player's speed for some value. When VIP player hold shift, he is not silent becouse he's speed is boosted. I want to reduce player's speed on holding shift for some...
Forum: Scripting Help 08-09-2018, 09:51
Replies: 9
Views: 1,997
Posted By BaD CopY
Re: extend round end time

https://forums.alliedmods.net/showpost.php?p=486379&postcount=1

I dont think that this plugin extends time between round end and round start
Forum: Scripting Help 08-09-2018, 09:21
Replies: 9
Views: 1,997
Posted By BaD CopY
Re: extend round end time

Is possible to do this with plugin ?
Forum: Suggestions / Requests 07-25-2018, 13:39
Replies: 28
Views: 4,328
Posted By BaD CopY
Forum: Suggestions / Requests 07-25-2018, 12:06
Replies: 28
Views: 4,328
Posted By BaD CopY
Re: Replace first character in a string

I need one more think to finish: how to select characters two by two in for loop ?
Forum: Scripting Help 07-25-2018, 12:02
Replies: 15
Views: 3,315
Posted By BaD CopY
Forum: Scripting Help 07-24-2018, 14:23
Replies: 15
Views: 3,315
Posted By BaD CopY
Re: Replace specific characters in a string?

https://forums.alliedmods.net/showthread.php?t=309093&page=3

So I'm trying to make this and I'm on good way
Forum: Scripting Help 07-24-2018, 14:22
Replies: 6
Views: 1,555
Posted By BaD CopY
Re: strlen not working

You are right.. remembering error :D
Forum: Scripting Help 07-24-2018, 14:19
Replies: 15
Views: 3,315
Posted By BaD CopY
Re: Replace specific characters in a string?

I tried to replace character but by using replace function my string is replaced with a character:


new String[] = "abcd";

new len = strlen(String);

for(new i = 0; i < len; i++
...
Forum: Scripting Help 07-24-2018, 12:13
Replies: 6
Views: 1,555
Posted By BaD CopY
Re: strlen not working

Thank you, I didnt know that :D
Forum: Scripting Help 07-24-2018, 12:09
Replies: 6
Views: 1,555
Posted By BaD CopY
strlen not working

new const String[] = "abcd";

new len = strlen(String);

for(new i = 0; i < len; i++) {
console_print(0, "%s", String[i]);
}


console output:
Forum: Suggestions / Requests 07-24-2018, 10:13
Replies: 28
Views: 4,328
Posted By BaD CopY
Re: Replace first character in a string

There is some ways (online) to encode md5 so that is why I said 'with AMXX'. Anyway, why you think it's not possible to change values in sqlite database ? Ammo packs was just an example.. I alse save...
Forum: Suggestions / Requests 07-24-2018, 09:41
Replies: 28
Views: 4,328
Posted By BaD CopY
Re: Replace first character in a string

I used md5 to secure informations (saved ammo packs for example) but there is no way to decode md5 with amxx.. if I'm using sqlite it's not hard to change values from it
Showing results 1 to 25 of 398

 
Forum Jump

All times are GMT -4. The time now is 07:51.


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