PHP Code:
new bool:gHasAWP[ 33 ];
// ...
actionAwp( id )
{
if ( !gHasAWP[ id ] )
{
give_item( id, "weapon_awp" );
gHasAWP[ id ] = true;
// Simple way to do it, just reset the bool at round start/end. Also, if you want to give the awp to Ts only, just add a get_user_team( id ) == 1 check.
}
}
__________________