PDA

View Full Version : Realism Matches


Olson30th
01-15-2008, 09:17 PM
If someone would be so inclined, Im looking for a fail-proof system for anti-ghosting once someone is killed and in spec during a realism match.
For this to work perfectally the plugin would need this:

While in spec the user can not:
See the MiniMap
See Anything going on in the match

Hopefully This plugin would make it so that the Spectator can only:
Text
Change Teams

This would be extreamly helpful, im so sick of getting ghosted via vent when im in a realism match.

Thanks guys for reading!

-Captain Arlo Lynn Olson [101st AirBorne]
*Salute o=

Wilson [29th ID]
01-16-2008, 02:14 AM
#include <amxmodx>
#include <dodx>
#include <fakemeta>

#define NEWTEAM 4

public dod_client_changeteam( id, team, oldteam ) {
if( team == 3 )
{
set_pev( id, pev_team, NEWTEAM );
}
}


Should block them from seeing players on the minimap.

Olson30th
01-16-2008, 02:46 PM
I'm sorry wilson, what do i do with that code? -_-

blobby
01-16-2008, 03:06 PM
You copy it and put it on a note pad file and the name it antighost.sma then use the web compiler to compile the file and then add it to your server

Blobby

Olson30th
01-16-2008, 03:37 PM
/home/groups/amxmodx/tmp3/php7WOve1.sma(9) : error 017: undefined symbol "set_pev"
/home/groups/amxmodx/tmp3/php7WOve1.sma(9) : warning 215: expression has no effect
/home/groups/amxmodx/tmp3/php7WOve1.sma(9) : error 001: expected token: ";", but found ")"
/home/groups/amxmodx/tmp3/php7WOve1.sma(9) : error 029: invalid expression, assumed zero
/home/groups/amxmodx/tmp3/php7WOve1.sma(9) : fatal error 107: too many error messages on one line

Wilson [29th ID]
01-16-2008, 05:39 PM
Forgot to include fakemeta.
Fixed.

Olson30th
01-16-2008, 09:57 PM
Hey thanks a billion Wilson =D