Raised This Month: $32 Target: $400
 8% 

Showing results 1 to 25 of 47
Search took 0.01 seconds.
Search: Posts Made By: pillowCloud
Forum: Scripting Help 08-07-2019, 02:16
Replies: 5
Views: 1,060
Posted By pillowCloud
Re: Trouble with reading first line of a file

Firstable, thank you for trying to help,

I did managed to find the solution, to solve this issue I made 3 changes:
1. I changed the the read text property from "r" to "rt"
2. I removed the...
Forum: Scripting Help 08-05-2019, 01:06
Replies: 5
Views: 1,060
Posted By pillowCloud
Re: Trouble with reading first line of a file

I tried it also, but still same result

EDIT:
If I'm adding an empty line in head of the file, like this:


"pokemon" "pokemon.mp3"
"marko" "marko.mp3"

It's works fine,
Forum: Scripting Help 08-04-2019, 17:21
Replies: 5
Views: 1,060
Posted By pillowCloud
Trouble with reading first line of a file

Hi,
I had a trouble with reading the first line of a file, or to be more accurate, I found that the first character of the file is not something that appears on the actual file, for example:

my...
Forum: Scripting 06-12-2019, 13:25
Replies: 4
Views: 1,376
Posted By pillowCloud
Forum: Scripting 06-07-2019, 09:38
Replies: 4
Views: 1,376
Posted By pillowCloud
Re: how to set a specific admin previlege to use a ConVar

hi,
firstable, thanks for your help.

the problem is that anyone with ADMIN_CVAR privilege can also change this cvar, and i need to make it useable only for admins with ADMIN_RCON privilege.
Forum: Scripting 06-05-2019, 14:59
Replies: 4
Views: 1,376
Posted By pillowCloud
how to set a specific admin previlege to use a ConVar

hi, i want to set a specific admin previlege for a ConVar.

i want to do something like this, but it's not working:

Handle:GambleChance = INVALID_HANDLE;

public void OnPluginStart()
{...
Forum: Scripting 05-27-2019, 23:53
Replies: 6
Views: 1,532
Posted By pillowCloud
Forum: Scripting 05-27-2019, 16:39
Replies: 6
Views: 1,532
Posted By pillowCloud
Re: Call an Action function from another function

oh feel bad for not thinking about it :cry:

btw, there is no way to call an Action function if needed?
Forum: Scripting 05-27-2019, 16:08
Replies: 6
Views: 1,532
Posted By pillowCloud
Call an Action function from another function

hi,

i want to do something like this:



public int Native_Give_Points(Handle:plugin, int numParams)
{
int arg1; // id of the function caller
char arg2[32]; // give points to this name
Forum: Scripting Help 07-06-2016, 21:37
Replies: 6
Views: 951
Posted By pillowCloud
Re: is it possible to resert get_user_time() function?

Thanks Bugsy, you're awesome :up:
Forum: Scripting Help 07-04-2016, 18:36
Replies: 6
Views: 951
Posted By pillowCloud
Re: is it possible to resert get_user_time() function?

I'm using this function to count 1 hour in total since the player first login.
For now it's working properly but the problem is that I can't re-enable the counting because get_user_time() func can't...
Forum: Scripting Help 07-04-2016, 16:52
Replies: 6
Views: 951
Posted By pillowCloud
Re: is it possible to resert get_user_time() function?

For now I'm using the variable "TookAlready" to prevent wrong calculations of the time that the player has played, because the calculation including that get_user_time() function wich is unable to...
Forum: Scripting Help 07-03-2016, 19:08
Replies: 6
Views: 951
Posted By pillowCloud
is it possible to resert get_user_time() function?

Can I reset the returned value of get_user_time() fuction?

Thanks in advance.
Forum: Scripting Help 06-29-2016, 17:12
Replies: 2
Views: 367
Posted By pillowCloud
Forum: Scripting Help 06-29-2016, 16:58
Replies: 2
Views: 367
Posted By pillowCloud
switching an array/varibale

Why can't I switch this variable like this?

new Action[33][16]; // Using to store a private client string

public setTxt(id)
{
Action[id] = "Slay";

switch(Action[id])
{
Forum: Scripting Help 05-06-2016, 09:34
Replies: 3
Views: 782
Posted By pillowCloud
Re: Question about colorchat

Thank you very much!!



omg.. this shows me how dumb I am :oops:
Thanks alot!
Forum: Scripting Help 05-05-2016, 22:02
Replies: 3
Views: 782
Posted By pillowCloud
Question about colorchat

A nooby question:

I'm using this colorchat stock:

stock ColorChat( const client, const string[], any:... )
{
new msg[ 191 ], players[ 32 ], count = 1;
static len; len = formatex( msg,...
Forum: Scripting Help 04-21-2016, 20:19
Replies: 7
Views: 1,576
Posted By pillowCloud
Re: Increase player surf speed

Thank you SO MUCH for sharing this!
Also a great thanks for the great explanation.

I'm really really grateful for this.
Forum: Scripting Help 04-20-2016, 10:54
Replies: 7
Views: 1,576
Posted By pillowCloud
Re: Increase player surf speed

Actually, that's exactly the thing that I'm trying to do,
but I never used those functions before and I'm not sure how should I deal with it.

Anyway, thanks for your response.
Forum: Scripting Help 04-20-2016, 09:47
Replies: 7
Views: 1,576
Posted By pillowCloud
Re: Increase player surf speed

Can I have an example of using entity_set_vector function?
Forum: Scripting Help 04-17-2016, 09:31
Replies: 7
Views: 1,576
Posted By pillowCloud
Increase player surf speed

Hey,
How can I detect if a player is surfing and then increase his surfing speed?

Thanks in advance.
Forum: Scripting Help 04-15-2016, 15:37
Replies: 9
Views: 1,400
Posted By pillowCloud
Re: save variable on nvault

Thanks alot,
finally done!
Forum: Scripting Help 04-10-2016, 09:51
Replies: 9
Views: 1,400
Posted By pillowCloud
Re: save variable on nvault

Theres a solution please?
Forum: Scripting Help 04-05-2016, 14:02
Replies: 9
Views: 1,400
Posted By pillowCloud
Re: save variable on nvault

This works great! I'm glad to be answered by you!
Thank you very very much!
You're a legend :grrr:

Edit:
Just one little problem:
When I use "SetSkin" it saves only the chosen skin and not all...
Forum: Scripting Help 04-02-2016, 15:40
Replies: 9
Views: 1,400
Posted By pillowCloud
Re: save variable on nvault

For now there are 5 skins for each weapon.
As you wrote, I'm saving skins as true/false, just not as booleans.
0 = false
1 = true
Showing results 1 to 25 of 47

 
Forum Jump

All times are GMT -4. The time now is 10:31.


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