Raised This Month: $44 Target: $400
 11% 

Showing results 1 to 25 of 62
Search took 0.01 seconds.
Search: Posts Made By: XSlayer
Forum: Scripting Help 08-05-2022, 03:38
Replies: 14
Views: 723
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, 01:22
Replies: 14
Views: 723
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, 22:24
Replies: 14
Views: 723
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, 22:42
Replies: 3
Views: 370
Posted By XSlayer
Re: get Model native

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

Solved!


public __getClientMODEL()
{
set_string( 2, __Player_MDL[get_param(1)], get_param(2) );
}
Forum: Scripting Help 08-01-2022, 00:32
Replies: 3
Views: 370
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, 18:03
Replies: 1
Views: 353
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, 03:11
Replies: 9
Views: 571
Posted By XSlayer
Forum: Scripting Help 07-26-2022, 20:32
Replies: 9
Views: 571
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, 20:15
Replies: 9
Views: 571
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, 19:33
Replies: 9
Views: 571
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, 17:23
Replies: 27
Views: 1,182
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, 16:41
Replies: 27
Views: 1,182
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, 04:42
Replies: 73
Views: 34,990
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, 03:30
Replies: 11
Views: 758
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-26-2022, 00:49
Replies: 27
Views: 1,182
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-26-2022, 00:39
Replies: 27
Views: 1,182
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-26-2022, 00:33
Replies: 27
Views: 1,182
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-26-2022, 00:06
Replies: 27
Views: 1,182
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, 21:51
Replies: 27
Views: 1,182
Posted By XSlayer
Forum: Scripting Help 07-25-2022, 21:48
Replies: 7
Views: 396
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, 19:34
Replies: 7
Views: 396
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, 01:55
Replies: 27
Views: 1,182
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, 01:01
Replies: 27
Views: 1,182
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:57
Replies: 7
Views: 396
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 03:39.


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