Raised This Month: $7 Target: $400
 1% 

Showing results 1 to 25 of 46
Search took 0.01 seconds.
Search: Posts Made By: The overrated maniac
Forum: Scripting Help 01-18-2022, 22:08
Replies: 6
Views: 788
Forum: Scripting Help 01-17-2022, 22:24
Replies: 6
Views: 788
Re: Change weapon clip

I want only 1 bullet after the user reload. Shoot, reload, shoot, reload. Not shoot shoot shoot shoot reload shoot shoot shoot shoot reload. Can it be done with that? max 1 shoot?
Forum: Scripting Help 01-17-2022, 21:24
Replies: 6
Views: 788
Re: Change weapon clip

I dont understand the code so I cant change it, its cs_weapons_api and I got it from ttt, its used for newton launcher item and others.

This is the STRUCT, but I dont know where...
Forum: Scripting Help 01-17-2022, 18:43
Replies: 6
Views: 788
Change weapon clip

I have a deagle with 1 bullet and 35 to load. I shoot that bullet, I reaload and I want to have only 1 bullet and not 7.
I saw apis that do that, I dont want to use them because they have a lot of...
Forum: Scripting Help 01-07-2022, 18:54
Replies: 9
Views: 840
Re: block teamattack message

Thanks, it worked
Forum: Scripting Help 01-07-2022, 18:09
Replies: 9
Views: 840
Re: block teamattack message

still not working:

#include <amxmodx>

public plugin_init()
{
register_plugin("D7 block saytext team attack", "0.0.1", "D i 5 7 i n c T, Johnny got his gun")

...
Forum: Scripting Help 01-07-2022, 16:22
Replies: 9
Views: 840
block teamattack message

For a jailbreak mod, when a terrorist attack another terrorist, the message on say says "x attacked a teammate" I want to remove it. I tryed this


#include <amxmodx>

public plugin_init()
{
...
Forum: Scripting Help 12-23-2021, 11:13
Replies: 7
Views: 1,100
Re: Teleport to random position

You dont need the whole function, what I did was the code I posted in php and it didnt work. Then added the initialize before it and worked, in your post you dont say that you have to initialize it...
Forum: Scripting Help 12-23-2021, 09:28
Replies: 7
Views: 1,100
Re: Teleport to random position

Thanks. I dont understand your include so well. If I put

new Float:Origin[3];
ROGGetOrigin(Origin);
engfunc(EngFunc_SetOrigin, id, Origin);

on my function, the player will be transported? Or...
Forum: Scripting Help 12-23-2021, 07:28
Replies: 7
Views: 1,100
Teleport to random position

How can I teleport a player to a random position in the map?
Dosnt matter if its on a wall or something because I can teleport him until this stock turns false


stock is_player_stuck(id)
{
...
Forum: Scripting Help 10-31-2021, 03:16
Replies: 9
Views: 883
Forum: Scripting Help 10-30-2021, 23:15
Replies: 9
Views: 883
Re: Problem with entity

Thats all the code that is needed. The model is in the route and with the right name.

Also there is the precache from the model.. when the plugins starts it sets the boolean variable on true, then...
Forum: Scripting Help 10-30-2021, 19:06
Replies: 9
Views: 883
Re: Problem with entity

Thanks for the answer, the problem is the model, how can I add it right?


new const MODEL_CAL[] = "models/cal.mdl";
new bool:bCal;

public plugin_init(){
register_plugin( "Tree Spawner",...
Forum: Scripting Help 10-28-2021, 15:08
Replies: 9
Views: 883
Problem with entity

When I spawn it shutdowns the server.


CreateCal(const Float:vOrigin[3]){
new iEntity = create_entity("ambient_generic");
if(!iEntity){
return 0;
}
set_pev(iEntity, pev_message,...
Forum: Scripting Help 10-05-2021, 06:38
Replies: 6
Views: 1,034
Forum: Scripting Help 10-03-2021, 21:15
Replies: 6
Views: 1,034
Forum: Scripting Help 10-03-2021, 20:31
Replies: 6
Views: 1,034
Re: Help with saving names

It shows more characters so it works, but its limited to like 110 characters, I dont understand why.
I added formatex in this example to show what I'm doing in a bigger plugin


#include...
Forum: Scripting Help 10-03-2021, 19:48
Replies: 6
Views: 1,034
Help with saving names

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"

new names[5000], g_maxplayers;

public plugin_init() {
Forum: Scripting Help 07-29-2021, 18:03
Replies: 6
Views: 986
Re: Contain in .ini dont work

Thats it, perfect, I thought it was the size of the ini file. Solved.
Forum: Scripting Help 07-29-2021, 17:34
Replies: 6
Views: 986
Re: Contain in .ini dont work

The thing is I dont need to only store one IP address.. I need to store houndreds. I thought of fvault or adv vault but it needs a key, and it was the name of the admin who put the ip there. So.....
Forum: Scripting Help 07-29-2021, 15:40
Replies: 6
Views: 986
Re: Contain in .ini dont work

Thanks all of it worked. When I put szFileData[50000] server crashed, I did it with 9000 and works, what is the max lenght?

Edit: testing more I became with a bigger problem.. now I dont have a...
Forum: Scripting Help 07-29-2021, 15:36
Replies: 28
Solved Level + flag
Views: 2,080
Re: Level + flag

I know it all the time . ? .

Change it like Natsheh said, he was right the first condition must be if the player is online.

if(is_user_connected(i) && the other thing){
Forum: Scripting Help 07-29-2021, 12:51
Replies: 28
Solved Level + flag
Views: 2,080
Re: Level + flag

What can be that error?
I didnt know the native "crxranks_user_level_updated" from crxranks, I guess thats why is inefficient, calling the native is better to check it.
Forum: Scripting Help 07-29-2021, 12:20
Replies: 28
Solved Level + flag
Views: 2,080
Re: Level + flag

#include <amxmisc>
#include <crxranks>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"

public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
Forum: Scripting Help 07-29-2021, 11:55
Replies: 6
Views: 986
Contain in .ini dont work

I have this and when I enter the game and test it says that the .ini file contains the user ip.. and it dosn't, it only contain "asd123 sada1231221 sdsd123".

Also when I put in the file
asd123...
Showing results 1 to 25 of 46

 
Forum Jump

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


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