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

Showing results 1 to 25 of 28
Search took 0.00 seconds.
Search: Posts Made By: TudorLaLeagane
Forum: Scripting Help 02-05-2019, 16:34
Replies: 0
Views: 622
Posted By TudorLaLeagane
Help stop c4 go through custom entity

I have a plugin that stops people going through a certain area, that area is blocked by an entity, but guns and c4's still go trought.

CODE:
engfunc(EngFunc_SetOrigin, iEnt, flCenter)
...
Forum: Scripting Help 01-28-2019, 11:16
Replies: 5
Views: 1,088
Posted By TudorLaLeagane
Re: Help compare two strings

I had it debug...

But it works with Trim, so thank you all <3
Forum: Scripting Help 01-28-2019, 09:30
Replies: 5
Views: 1,088
Posted By TudorLaLeagane
Re: Help compare two strings

It's the same output... The password is incorrect.

if(equal(gPassword[id],givenpass,64))
Forum: Scripting Help 01-28-2019, 09:19
Replies: 5
Views: 1,088
Posted By TudorLaLeagane
Help compare two strings

Hi! I would like to compare two strings. Here is my code:


stock LogInUser(id,givenpass[65])
{
if(gLoggedin[id] == 0){
new userid = get_user_userid(id)
log_amx("%s -...
Forum: Scripting Help 01-24-2019, 03:06
Replies: 4
Views: 1,109
Posted By TudorLaLeagane
Forum: Scripting Help 01-23-2019, 15:16
Replies: 4
Views: 1,109
Posted By TudorLaLeagane
Re: Help error: Index out of bounds

Thanks for the tip, but it still doesn't solve my problem...
Forum: Scripting Help 01-23-2019, 08:11
Replies: 4
Views: 1,109
Posted By TudorLaLeagane
Help error: Index out of bounds

L 01/23/2019 - 10:10:32: [AMXX] Displaying debug trace (plugin "DRSHOP.amxx", version "3.9.Not-Stable")
L 01/23/2019 - 10:10:32: [AMXX] Run time error 4: index out of bounds
L 01/23/2019 -...
Forum: Scripting Help 01-08-2019, 15:37
Replies: 11
Views: 1,963
Posted By TudorLaLeagane
Re: Help reading file and date

Sorry for duble post, it works now..
Forum: Scripting Help 01-08-2019, 14:45
Replies: 11
Views: 1,963
Posted By TudorLaLeagane
Re: Help reading file and date

Let me try real quick
Edit: It still doesn't work.

Here is the full plugin:

#include <amxmodx>
new GatherData[3][17]
new GatherOra[3][17]
public plugin_init()
{
Forum: Scripting Help 01-08-2019, 07:33
Replies: 8
Views: 1,717
Posted By TudorLaLeagane
Re: Trying to get rid of a few warnings (loose indentation, unreachable code)

You can let those, it doens't affect the .amxx at all.
Forum: Scripting Help 01-08-2019, 05:55
Replies: 11
Views: 1,963
Posted By TudorLaLeagane
Re: Help reading file and date

new GatherData[3][17]


It's a global variable

So, i want to read a date from a file (MAX is 3) and if that date is today, the plugin should do something.
Forum: Scripting Help 01-07-2019, 16:07
Replies: 11
Views: 1,963
Posted By TudorLaLeagane
Re: Help reading file and date

public CheckFile()
{
new dir[33]
get_configsdir(dir,charsmax(dir))
new FILE[65]
format(FILE,charsmax(FILE),"%s/LaLeaganeGather.txt",dir)
if(!file_exists(FILE))
{
write_file(FILE,";...
Forum: Scripting Help 01-07-2019, 06:01
Replies: 11
Views: 1,963
Posted By TudorLaLeagane
Re: Help reading file and date

No, it's not like a homework, it is for a server in my comunity...
Forum: Scripting Help 01-06-2019, 18:06
Replies: 11
Views: 1,963
Posted By TudorLaLeagane
Help reading file and date

Hi! I want to read more dates from a file, and then check if that date is today.

I don't really have a code now, idk if that is a problem... I was tasked with this today, and i am trying to figure...
Forum: Scripting Help 12-28-2018, 14:07
Replies: 6
Views: 1,293
Posted By TudorLaLeagane
Re: Help with "say /" comands

I just want to take 2 strings and show them in chat.
Forum: Scripting Help 12-28-2018, 13:25
Replies: 11
Views: 1,711
Posted By TudorLaLeagane
Re: [HELP] Play .waw file

No, anyway, thanks everyone, it works now!
Forum: Scripting Help 12-28-2018, 13:24
Replies: 6
Views: 1,293
Posted By TudorLaLeagane
Re: Help with "say /" comands

It still doesn't work...
public CmdTestArg(id)
{
if(!is_user_admin(id))
return PLUGIN_HANDLED

new msg[256]
read_args(msg,charsmax(msg))
new Arg0[15], Arg1[33],Arg2[33]...
Forum: Scripting Help 12-28-2018, 12:05
Replies: 11
Views: 1,711
Posted By TudorLaLeagane
Re: [HELP] Play .waw file

It works now, with that code, but idk why it didn't worked with the first implementation
Forum: Scripting Help 12-28-2018, 07:19
Replies: 6
Views: 1,293
Posted By TudorLaLeagane
Help with "say /" comands

Hi! I have a problem, how can i read the args from a "say /" command? Here is my code:

register_clcmd("say /testarg","CmdTestArg")

public CmdTestArg(id)
{
if(!is_user_admin(id))
return...
Forum: Scripting Help 12-27-2018, 16:47
Replies: 11
Views: 1,711
Posted By TudorLaLeagane
Re: [HELP] Play .waw file

It's just that i just copied the file name, and it was all Upper Case and i was just lazy to change it.
Forum: Scripting Help 12-27-2018, 04:52
Replies: 11
Views: 1,711
Posted By TudorLaLeagane
Re: [HELP] Play .waw file

I managed to make it play. Here is the code that runs as it should:
new SoundNames[SoundNR][] =
{
"Yes",
"May The Force Be With You",
"Helloo Babee",
"The One and Only",
"YMCA"
}
new...
Forum: Scripting Help 12-26-2018, 15:12
Replies: 11
Views: 1,711
Posted By TudorLaLeagane
Re: [HELP] Play .waw file

Yeah... Now it's downloading the file, but it doesn't play it
Forum: Scripting Help 12-25-2018, 18:18
Replies: 11
Views: 1,711
Posted By TudorLaLeagane
[HELP] Play .waw file

Hi! I just want to play a .waw file.

Here is part of my code:

new SoundNames[SoundNR][] =
{
"Yes",
"May The Force Be With You",
"Helloo Babee",
"The One and Only"
Forum: Scripting Help 08-22-2018, 12:53
Replies: 2
Views: 625
Posted By TudorLaLeagane
Re: Help create file

Well, idk why, but it worked... Thanks bro :)
Forum: Scripting Help 08-22-2018, 02:27
Replies: 2
Views: 625
Posted By TudorLaLeagane
Help create file

Hi! So i made a new plugin that gets every admin in users.ini and writes him in a file + one 0. But it doesn't create the file at all.


Part of sma:
new cfgdir[64]...
Showing results 1 to 25 of 28

 
Forum Jump

All times are GMT -4. The time now is 06:44.


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