AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to change crosshair (https://forums.alliedmods.net/showthread.php?t=147737)

HoLLyWooD 01-13-2011 07:54

How to change crosshair
 
crosshair

how to change the player's crosshair? After a byte write?

Make new weapons to the server, I want to change the kinds of sight!

Google did not help - http://www.google.com.ua/search?sour...sor+alliedmods :|

hleV 01-13-2011 08:15

Re: How to change cursor
 
Are you talking about the crosshair?

HoLLyWooD 01-13-2011 08:17

Re: How to change cursor
 
yes
bad translation released


and if you know how to change the image of weapons that appears in the killing in the upper right corner.

lazarev 01-13-2011 08:27

Re: How to change cursor
 
Quote:

Originally Posted by HoLLyWooD (Post 1392637)
and if you know how to change the image of weapons that appears in the killing in the upper right corner.

hook deathmsg, change data

HoLLyWooD 01-13-2011 09:23

Re: How to change cursor
 
PHP Code:

/* Creates a death message. */
stock make_deathmsg(killervictimheadshot, const weapon[])
{
    
message_begin(MSG_ALLget_user_msgid("DeathMsg"), {0,0,0}, 0);
    
write_byte(killer);
    
write_byte(victim);

    new 
mod_name[32];
    
get_modname(mod_name31);
    if (
equal(mod_name"cstrike") || equal(mod_name"czero") || equal(mod_name"csv15") || equal(mod_name"cs13"))
        
write_byte(headshot);
    
write_string(weapon);
    
message_end();

    return 
1;


write_string(weapon); this?

And if I can put a picture that is not in counter strike?

bibu 01-13-2011 11:44

Re: How to change cursor
 
Quote:

Originally Posted by HoLLyWooD (Post 1392674)
And if I can put a picture that is not in counter strike?

Impossible.

HoLLyWooD 01-13-2011 12:54

Re: How to change cursor
 
Quote:

Originally Posted by bibu (Post 1392749)
Impossible.

where i can see weapons list?

and how change crosshair?:3

Exolent[jNr] 01-13-2011 14:03

Re: How to change crosshair
 
Don't bump until 2 weeks have passed since last post.

F.E.A.R. 01-15-2011 13:04

Re: How to change cursor
 
Quote:

Originally Posted by HoLLyWooD (Post 1392794)
where i can see weapons list?

and how change crosshair?:3

I think you need to create sprite and stick to your monitor)

HoLLyWooD 01-16-2011 02:50

Re: How to change cursor
 
Quote:

Originally Posted by F.E.A.R. (Post 1394223)
I think you need to create sprite and stick to your monitor)

How can I do that? and whether it will help? People help me!


All times are GMT -4. The time now is 01:58.

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