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

Showing results 1 to 25 of 62
Search took 0.00 seconds.
Search: Posts Made By: XSlayer
Forum: Scripting Help 08-05-2022, 02:38
Replies: 14
Views: 1,232
Posted By XSlayer
Re: Switch Player to Spectator

first of all, ur saying thing that u event know, who said that is a counter strike server??,if you are going to answer something coherent, that the answer is not a supposition

I do not understand...
Forum: Scripting Help 08-05-2022, 00:22
Replies: 14
Views: 1,232
Posted By XSlayer
Re: Switch Player to Spectator

cause i will add cstrike module only for that function, and I thought that it is unnecessary to add a library to only use that function, maybe there is another way to do it, thats why i askt that
Forum: Scripting Help 08-04-2022, 21:24
Replies: 14
Views: 1,232
Posted By XSlayer
Switch Player to Spectator

Hi!, i wanted to know how can i switch a player to Spectator without using cstrike:

client_cmd(id,"kill")
cs_set_user_team(id, CS_TEAM_SPECTATOR)
Forum: Scripting Help 08-01-2022, 21:42
Replies: 3
Views: 614
Posted By XSlayer
Re: get Model native

yeah my bad i didnt write it correctly
Forum: Scripting Help 08-01-2022, 00:03
Replies: 3
Views: 614
Posted By XSlayer
Re: get Model native

Solved!


public __getClientMODEL()
{
set_string( 2, __Player_MDL[get_param(1)], get_param(2) );
}
Forum: Scripting Help 07-31-2022, 23:32
Replies: 3
Views: 614
Posted By XSlayer
get Model native

hi i wanted to create a native that gets the player mdl

in one plug:


stock setPlayerMDL(Client, model[])
{
formatex(__Player_MDL[Client], 63, "models/player/%s/%s.mdl", model, model);
...
Forum: Scripting Help 07-28-2022, 17:03
Replies: 1
Views: 506
Posted By XSlayer
This or This

Hi, in terms of memory, whis is better to use?

This
velocity_by_aim(iIndex, iVelocity, Float:vRetValue[3]);

>

static cell AMX_NATIVE_CALL VelocityByAim(AMX *amx, cell *params)
{
int...
Forum: Scripting Help 07-27-2022, 02:11
Replies: 9
Views: 874
Posted By XSlayer
Forum: Scripting Help 07-26-2022, 19:32
Replies: 9
Views: 874
Posted By XSlayer
Re: Save Entity Index with BitSum

yes I read it, but I don't fully understand that part, I understand about setting the bits to players, but not what continues, that's why the post
Forum: Scripting Help 07-26-2022, 19:15
Replies: 9
Views: 874
Posted By XSlayer
Re: Save Entity Index with BitSum

try to save all 33 cells and bytes, like


new __int_Variable[33];

public Test( Client )
{
if(!__int_Variable[Client])) // if is false
{
__int_Variable[Client] =...
Forum: Scripting Help 07-26-2022, 18:33
Replies: 9
Views: 874
Posted By XSlayer
Save Entity Index with BitSum

Hi i wanted to know, how can i save an index for a client, with bitsums


new __int_Entity[33];

public CreateEntity( Client )
{
__int_Entity[Client] = create_entity( "env_sprite" );
}...
Forum: Scripting Help 07-26-2022, 16:23
Replies: 27
Views: 1,981
Posted By XSlayer
Re: Can I store information in player entity?

u just know that he wants to use iuser, thats all, u dont know how is the plugin coded, or where is setting iuser, anyway, what i said is true, engine is better than fakemeta,and you have not given...
Forum: Scripting Help 07-26-2022, 15:41
Replies: 27
Views: 1,981
Posted By XSlayer
Re: Can I store information in player entity?

is not just iuser, if u compare all the natives, u will notice that engine is better than fakemeta in everyone, now imagine if u make a plugin full o fakemeta natives and other with engine, fakemeta...
Forum: Code Snippets/Tutorials 07-26-2022, 03:42
Replies: 73
Views: 41,634
Posted By XSlayer
Re: [INFO] Bitsums and Operators

Great tutorial! but i have somes doubts


if (bistum_is_alive & (1<<id)) // if this is checking if is user alive, how can i check is isnt alive? using this same method
{
}


and how can i...
Forum: Scripting Help 07-26-2022, 02:30
Replies: 11
Views: 1,351
Posted By XSlayer
Re: Respawn in game mode

public zp_player_spawn_post( id )

i think u already have a public for that, u just need it to register ham spawn with this public name, and the job is done

RegisterHam( Ham_Spawn, "player",...
Forum: Scripting Help 07-25-2022, 23:49
Replies: 27
Views: 1,981
Posted By XSlayer
Re: Can I store information in player entity?

well if we are talking about making an efficient plugin (to make a plugin you need to use natives) you should use the most efficient tools, if you don't, maybe the plugin is not as efficient in...
Forum: Scripting Help 07-25-2022, 23:39
Replies: 27
Views: 1,981
Posted By XSlayer
Re: Can I store information in player entity?

n | set_pev | 50064 | 0.110391 / 0.000001 / 0.000077

sorry my bad, is 2 times more of memory than pev and 5 times more than entity_set_origin
Forum: Scripting Help 07-25-2022, 23:33
Replies: 27
Views: 1,981
Posted By XSlayer
Re: Can I store information in player entity?

what you say first is only part of the efficiency of using native against utilities(natives vs utilities), below the difference of using pev instead of entity_set is perfectly detailed, in terms of...
Forum: Scripting Help 07-25-2022, 23:06
Replies: 27
Views: 1,981
Posted By XSlayer
Re: Can I store information in player entity?

https://forums.alliedmods.net/showthread.php?t=88792

here it explains the differences between engine vs fakemeta in terms of memory and its differences
Forum: Scripting Help 07-25-2022, 20:51
Replies: 27
Views: 1,981
Posted By XSlayer
Forum: Scripting Help 07-25-2022, 20:48
Replies: 7
Views: 906
Posted By XSlayer
Re: precache_generic

i know, but what will happend if i load a spr with precache_generic, and use it for TE_SPRITE or entity model, i know the limit of 512, thats why i ask for precache_generic, cause, precache_sound,...
Forum: Scripting Help 07-25-2022, 18:34
Replies: 7
Views: 906
Posted By XSlayer
Re: precache_generic

thanks, and for the sprites loaded with precache_generic, that sprites can be used for TE_SPRITE?, or entitys with that sprite?, and what about models?
Forum: Scripting Help 07-25-2022, 00:55
Replies: 27
Views: 1,981
Posted By XSlayer
Re: Can I store information in player entity?

better use engine than fakemeta


entity_set_int( Client, EV_INT_
EV_INT_iuser1,
EV_INT_iuser2,
EV_INT_iuser3,
...
Forum: Scripting Help 07-25-2022, 00:01
Replies: 27
Views: 1,981
Posted By XSlayer
Re: Can I store information in player entity?

better use engine than fakemeta


entity_set_int( Client, EV_INT_
EV_INT_iuser1,
EV_INT_iuser2,
EV_INT_iuser3,
...
Forum: Scripting Help 07-24-2022, 23:57
Replies: 7
Views: 906
Posted By XSlayer
precache_generic

Hi, i wanted to know what problems i will have if i use precache_generic, im using it for MP3 files, playing it with mp3 command, but what will happend if i use it to load .wav, mdls or...
Showing results 1 to 25 of 62

 
Forum Jump

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


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